http://developer.android.com/design/building-blocks/scrolling.html
I’m looking for solution to perform the second part (“Index Scrolling”), but I can’t find any examples to do that.
Is there a solution in default-API?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
To implement index scrolling, you have to call
setFastScrollEnabled(true)on your ListView. In addition, your adapter has to implement theSectionIndexerinterface.You can find an example here: http://spinettaro.blogspot.de/2011/11/android-snippet-code-android-listview.html
This should work with all Views that are a subclass of
AbsListView.