use of com.shizhefei.view.indicator.FixedIndicatorView in project ViewPagerIndicator by LuckyJayce.
the class SingleTabActivity method onCreate.
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_singletab);
ScrollIndicatorView scrollIndicatorView = (ScrollIndicatorView) findViewById(R.id.singleTab_scrollIndicatorView);
FixedIndicatorView fixedIndicatorView = (FixedIndicatorView) findViewById(R.id.singleTab_fixedIndicatorView);
RecyclerIndicatorView recyclerIndicatorView = (RecyclerIndicatorView) findViewById(R.id.singleTab_reyclerIndicatorView);
set(scrollIndicatorView, 16);
set(fixedIndicatorView, 5);
set(recyclerIndicatorView, 10000);
}
Aggregations