Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Android - Thumb of fastscroll in expandablelistview doesnt scroll list correctly

i am using an expandablelistview to show a list of groups containing different counts of children. sometimes the list is very long, so i wanted to enable fastscroll. i did this and everything is working fine when i scroll the list with the finger in the usual way.

but when i grab the thumb and drag it to the bottom, the list is scrolled to the last position when i have moved the thumb about 1/3 of the height from the top. what can i do to have the thumb position the list according to the full height of the scrollbar?

like image 323
zreptil Avatar asked Sep 23 '11 07:09

zreptil


1 Answers

Last answer went missing.

This is a known bug in Android FastScroller.

See my code attached to http://code.google.com/p/android/issues/detail?id=24635

it contains a work-around that works for some specific cases.

like image 79
RabidMutant Avatar answered Nov 22 '22 01:11

RabidMutant