从ListActivity启用fastscroll与simplecursoradapter
-
27-09-2019 - |
题
我知道你可以对列表视图设置fastScroll,但目前我想用一个ListActivity有simplecursoradapter代替。有没有一种方法,使这种观点快速滚动?
解决方案
不要紧样的鼠标你用什么。刚刚成立android:fastScrollEnabled
在布局XML文件,或致电setFastScrollEnabled(true)
代码,如果你喜欢这种方式。
不隶属于 StackOverflow