由网友(顽皮可以别赛脸 i)分享简介:如何在自动滚动android的列表视图?我将数据添加到列表中,这样我想,当我添加它应该自动滚动,最后添加的项目应该是可见的。how to autoscroll a list view in android?I am adding data to the list so i want that when i add...
如何在自动滚动android的列表视图?我将数据添加到列表中,这样我想,当我添加它应该自动滚动,最后添加的项目应该是可见的。
how to autoscroll a list view in android?I am adding data to the list so i want that when i add it should autoscroll and the last added item should be visible.
推荐答案
使用功能setSelectionFromTop(INT位置,int y)对
Use the function setSelectionFromTop(int position, int y)
http://developer.android.com/reference/android/widget/ListView.html#setSelectionFromTop%28int,%20int%29
相关推荐
最新文章