public void setCustomAnimation(BaseAnimationInterface animation){
        mCustomAnimation = animation;
        if(mViewPagerTransformer != null){
            mViewPagerTransformer.setCustomAnimationInterface(mCustomAnimation);
        }
    }
Inject your custom animation into PageTransformer, you can know more details in
{@link com.daimajia.slider.library.Animations.BaseAnimationInterface},
and you can see a example in {@link com.daimajia.slider.library.Animations.DescriptionAnimation}
@param animation
library/src/main/java/com/daimajia/slider/library/SliderLayout.java