use of com.imbryk.viewPager.LoopViewPager in project CircleIndicator by ongakuer.
the class LoopViewPagerFragment method onViewCreated.
@Override
public void onViewCreated(View view, @Nullable Bundle savedInstanceState) {
LoopViewPager viewpager = (LoopViewPager) view.findViewById(R.id.viewpager);
CircleIndicator indicator = (CircleIndicator) view.findViewById(R.id.indicator);
viewpager.setAdapter(new SamplePagerAdapter());
indicator.setViewPager(viewpager);
}
Aggregations