连续自动滚动ListView
我在 Android 中有一个 Listview
。我希望 Listview 自行从上到下连续滚动。它应该无限地发生
并且显然我想捕获对 Listview 的任何项目的点击,发布滚动将继续
任何有此类实现经验的人。请帮忙!!
I have a Listview
in Android. I want that the Listview
continuously scrolls from top to bottom by itself. It should happen infinitely
And obviously I want to capture the click on any of the items of the Listview
, post that the scroll will continue
Anybody having experience with such an implementation. Please help !!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
http://groups.google.com/group/android-developers/msg/753a317a8a0adf03 自动滚动,你可以使用这个:listView.smoothScrollToPosition(position);
http://groups.google.com/group/android-developers/msg/753a317a8a0adf03
To scroll automatically, you can use this: listView.smoothScrollToPosition(position);