vuonghungvinh / tree-view-list-android

Automatically exported from code.google.com/p/tree-view-list-android
BSD 2-Clause "Simplified" License
0 stars 0 forks source link

Implement smooth scroll #7

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
Hi,
I was wondering how do i implement smooth scrollable list. The tree currently 
only handles trackball.
Thanks

Original issue reported on code.google.com by jayasund...@gmail.com on 6 Aug 2011 at 3:32

GoogleCodeExporter commented 8 years ago
I tried adding android:fastScrollEnabled="true" android:smoothScrollbar="true" 
but it didnt work.

Original comment by jayasund...@gmail.com on 6 Aug 2011 at 3:38

GoogleCodeExporter commented 8 years ago
The list behaves the same way as other lists.  I don't really get what you want 
to achieve, what do you mean by "only handles trackball"? Y
BTW> SmoothScrollbar is just to calculate the scrollbar. 
If you look for Fastscroll - indexed scrolling using scrollbar (like in 
contacts), then I actually tried FastScroll and it did not work out-of-the-box, 
so I just fixed it. You just need to make sure your adapter implements 
SectionIndexer and set fastScrollEnabled="true" in TreeViewList attributes.

Original comment by ja...@potiuk.com on 6 Aug 2011 at 4:25

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
It does work by swiping  up & down (I cannot see your comment, though I was 
notified about it).

Original comment by jarek.po...@polidea.pl on 7 Aug 2011 at 7:05

GoogleCodeExporter commented 8 years ago
deleted my comment once i found my mistake. thanks for the response

Original comment by jayasund...@gmail.com on 8 Aug 2011 at 8:51