ListView数据比较多,超出屏幕
但是默认显示是在最前面的,如果让ListView默认是滚动到最后面的
------解决方案--------------------
scrollBy 可以移动
------解决方案--------------------
mListView.smoothScrollToPosition(0);//移动到首部
mListView.smoothScrollToPosition(listView.getCount() - 1);//移动到尾部
------解决方案--------------------
ListView.setSelection(ListView.getBottom())
------解决方案--------------------
ListView.setSelection(position)
------解决方案--------------------
不好意思,写错了一个地方:
mListView.smoothScrollToPosition(mListView.getCount() - 1);//移动到尾部
绝对有效果