控制ListView滑动速度

来源:互联网 发布:c语言课程考核内容 编辑:程序博客网 时间:2024/05/16 17:10
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);}
0 0
原创粉丝点击