开发者

Android: Scrollbar Accelerator?

开发者 https://www.devze.com 2023-04-08 09:42 出处:网络
I\'m writing an Android application that contains lots of long lists and I need to accelerate scrolling somehow.The Android Contacts application for example uses a list of letters to allow quick scrol

I'm writing an Android application that contains lots of long lists and I need to accelerate scrolling somehow. The Android Contacts application for example uses a list of letters to allow quick scrolling to a certain spot in the list ... it's not exactly what I'm looking for though. I've seen other applications use a handle (or paddle) that appears when you start scrolling and allows you to easily drag the scrollbars to a specific location, t开发者_开发知识库hat might be a better solution for me.

I'm wondering if anyone would have any info about either of the above methods or any other suggestions on how to accelerate scrolling through long lists (long meaning 500-750 items).

Thanks, Harry


<ListView
 ...
 android:fastScrollEnabled="true"/>

and this to "jump" in listView:

http://developer.android.com/reference/android/widget/SectionIndexer.html

0

精彩评论

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

关注公众号