Saturday, July 31, 2010

[android-developers] ListView setSelection fails randomly

Im using a setSelection and setSelectionFromTop to scroll a listview
to a certain position but it randomly fails to do anything?!

I not calling from another thread. Can it be because I just before
called notifyDataSetChanged() ? In that case how do I know that that
event has been handled and it is safe to call setSelection() ?

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

0 Comments:

Post a Comment

Subscribe to Post Comments [Atom]

<< Home


Real Estate