@Override
    public void setAdapter(PagerAdapter adapter) {
        super.setAdapter(adapter);
    }
A {@link ViewPager} that allows pseudo-infinite paging with a wrap-around effect. Should be used with an {@link
InfinitePagerAdapter}.
library/src/main/java/com/daimajia/slider/library/Tricks/InfiniteViewPager.java