Enabling fastscroll from a ListActivity with a simplecursoradapter
-
27-09-2019 - |
문제
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?
해결책
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.
제휴하지 않습니다 StackOverflow