慕的地8271018
将代码放在处理程序中,如下所示,public void timerDelayRunForScroll(long time) {
Handler handler = new Handler();
handler.postDelayed(new Runnable() {
public void run() {
try {
lstView.smoothScrollToPosition(YOUR_POSITION);
} catch (Exception e) {}
}
}, time);
}然后调用这个方法,如,timerDelayRunForScroll(100);干杯!!!