Closed tupobi closed 6 years ago
if (parent == indicatorStyle) { switch (position) { case 0: ultraViewPager.disableIndicator(); break; case 1: ultraViewPager.getIndicator().setFocusResId(0).setNormalResId(0); ultraViewPager.getIndicator().setFocusColor(Color.GREEN).setNormalColor(Color.WHITE) .setRadius((int) TypedValue.applyDimension(TypedValue.COMPLEX_UNIT_DIP, 5, getResources().getDisplayMetrics())); break; case 2: ultraViewPager.getIndicator().setFocusResId(R.mipmap.tm_biz_lifemaster_indicator_selected) .setNormalResId(R.mipmap.tm_biz_lifemaster_indicator_normal); break; case 3: break; } }
case 3: is empty
Just do it yourself. haha
case 3: is empty