Android index scrolling

前端 未结 2 945
长发绾君心
长发绾君心 2021-02-02 02:58

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 exam

相关标签:
2条回答
  • 2021-02-02 03:21

    Here is the Sample code posted in GitHub. Check out this,

    https://github.com/rno/Android-ScrollBarPanel

    0 讨论(0)
  • 2021-02-02 03:31

    To implement index scrolling, you have to call setFastScrollEnabled(true) on your ListView. In addition, your adapter has to implement the SectionIndexer interface.

    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.

    0 讨论(0)
提交回复
热议问题