I'm working on designing a HorizontalListView widget and I'm getting
stuck on what to do with the setSelection methods. It seems like every
example of extending an ArrayAdapter never touches this method.

I can have a long list, so filling to the right from 0 -> my position
isn't an option. Ideally I'd like to have only one view created since
my children are the entire width of the screen. I have a few variables
to play with:

mLeftViewIndex, mRightViewIndex, mOffset, mCurrentX, mNextX, but the
combinations of the variables aren't happening. Can someone tell me
roughly what is supposed to happen in the setSelection method? Am I
just supposed to move the offset and set the view indexes? I know this
is a bit vague, but looking for a high level answer.

Thanks!

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to