0
我知道你可以对列表视图设置fastScroll,但目前我想用一个ListActivity有simplecursoradapter代替。有没有办法让这样的视图快速滚动?从ListActivity启用fastscroll与simplecursoradapter
我知道你可以对列表视图设置fastScroll,但目前我想用一个ListActivity有simplecursoradapter代替。有没有办法让这样的视图快速滚动?从ListActivity启用fastscroll与simplecursoradapter
不要紧,你用什么样的光标。只需设置android:fastScrollEnabled
在布局XML文件,或致电setFastScrollEnabled(true)
代码,如果你喜欢这种方式。
嗯,我试图在ListActivity本身this.setFastScrollEnabled(true),但该方法没有为ListActivity定义。你在代码中究竟做了什么? – Suan 2010-11-23 05:35:11