public void setPagerTransformer(boolean reverseDrawingOrder,BaseTransformer transformer){
        mViewPagerTransformer = transformer;
        mViewPagerTransformer.setCustomAnimationInterface(mCustomAnimation);
        mViewPager.setPageTransformer(reverseDrawingOrder,mViewPagerTransformer);
    }
set ViewPager transformer.
@param reverseDrawingOrder
@param transformer
library/src/main/java/com/daimajia/slider/library/SliderLayout.java