95 if(position > 0){ 96 TabView left = mTabs.get(position); 97 TabView right = mTabs.get(position+1); 98 99 left.setProgress((1-positionOffset)); 100 right.setProgress(positionOffset); 101 } 102 } 信息: java.lang.IndexOutOfBoundsException: Index: 4, Size: 4
if (position >= 0 && position + 1 <= mTabs.size() - 1)
我是这么判断的