@Override
    public void restoreState(Parcelable bundle, ClassLoader classLoader) {
        adapter.restoreState(bundle, classLoader);
    }
@return the {@link #getCount()} result of the wrapped adapter
library/src/main/java/com/daimajia/slider/library/Tricks/InfinitePagerAdapter.java