当前位置: 首页 > 工具软件 > smoothscroll > 使用案例 >

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

干善
2023-12-01

ViewPager.setCurrentItem(int item, boolean smoothScroll);
注:主要在viewPager设置当前页时,页面跳转时使用。
false:代表快速切换 true:表示切换速度慢

原文地址:http://blog.csdn.net/petib_wangwei/article/details/37872699

 类似资料: