课程
/移动开发
/Android
/Android-自定义ViewPager指示器
如图所示:
2016-03-11
源自:Android-自定义ViewPager指示器 2-6
正在回答
我是在
if (position >= (visibleTabCount-1) && offset>0 && itemcount>visibleTabCount&& position<itemcount-2 )
加了position<itemcount-2 ,也可完美解决
this.socll那加个判断if (position!=getChildCount()-2)
4个倍数 弄多个 不就不奇怪了吗
举报
带领大家实现最火爆的跟随型指示器,学完保准压倒一片