开发者

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?


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.


I posted a workaround here. It uses a OnScrollListener to act differently if the user scrolls via touch or via thumb.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜