您的位置:首页 > 其它

ViewPager.setCurrentItem(int item, boolean smoothScroll);第二个参数的作用

2018-03-21 13:35 387 查看
ViewPager.setCurrentItem(int item, boolean smoothScroll);

注:主要在viewPager设置当前页时,页面跳转时使用。

false:代表快速切换 true:表示切换速度慢

原文地址:http://blog.csdn.net/petib_wangwei/article/details/37872699
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: