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滑动速度
最新推荐文章于 2023-08-25 15:33:20 发布