문제

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, that 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

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top