It does rebuild the list, but if the user is interacting with the fast
scroll thumb-control-whatchacallit at the time, that interaction will
be reset, and a new touch down event will be required to start
tracking again.

I'm yet to try this helper class instead:

http://code.google.com/p/apps-for-android/source/browse/trunk/RingsExtended/src/com/example/android/rings_extended/FastScrollView.java

However, a wrinkle here is that the drawable for the thumb would need
to be copied into the project, as it's not a public resource....
potentially causing UI style mismatch on some devices (e.g. my HTC
Incredible S with 2.3.3 uses the image from an earlier version of
Android).

-- Kostya


2011/11/21 Mark Murphy <mmur...@commonsware.com>:
> On Mon, Nov 21, 2011 at 2:43 AM, Kostya Vasilyev <kmans...@gmail.com> wrote:
>> It seems that the only way to rebuild the fast scroll section data is
>> to toggle fast scrolling off and on again.
>
> Agreed. setFastScrollEnabled(false) would get rid of the existing
> FastScroller object; setFastScrollEnabled(true) should create a fresh
> one.
>
> I've added this thread to a nearly two-year-old issue on this:
> http://code.google.com/p/android/issues/detail?id=6542
> --
> Mark Murphy (a Commons Guy)
> http://commonsware.com | http://github.com/commonsguy
> http://commonsware.com/blog | http://twitter.com/commonsguy
>
> Warescription: Three Android Books, Plus Updates, One Low Price!
>
> --
> 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+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en

-- 
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+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to