Enabling fastscroll from a ListActivity with a simplecursoradapter
-
27-09-2019 - |
Question
I know you can set fastScroll for listViews, but currently I would like to use a ListActivity with a simplecursoradapter instead. Is there a way to make such a view fast scroll?
Solution
It doesn't matter what kind of cursor you use. Just set android:fastScrollEnabled
in your layout XML file, or call setFastScrollEnabled(true)
in code if you prefer it that way.
Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow