public void onStart() {
super.onStart();
// scroll speed decreases as friction increases. a value of 2 worked
// well in an emulator; i need to test it on a real device
getListView().setFriction(ViewConfiguration.getScrollFriction() * 2);
}
控制ListView滑动速度
最新推荐文章于 2019-08-12 00:26:42 发布