Popularity
3.0
Growing
Activity
0.0
Stable
157
9
14

Programming language: Java
Tags: Animations    

android-cubic-bezier-interpolator alternatives and similar packages

Based on the "Animations" category

Do you think we are missing an alternative of android-cubic-bezier-interpolator or a related project?

Add another 'Animations' Package

README

Deprecated: use https://developer.android.com/reference/android/support/v4/view/animation/PathInterpolatorCompat.html instead.

android-cubic-bezier-interpolator

An Android Library that helps you implement bezier animations in you application

How to use

Animation animation = new Animation() {
    @Override
    protected void applyTransformation(float interpolatedTime, Transformation t) {
        super.applyTransformation(interpolatedTime, t);
        myView.setAlpha(interpolatedTime);
    }
};

//define the CubicBezierInterpolator
Interpolator easeInOut = new CubicBezierInterpolator(.1, .7, .1, 1);
animation.setInterpolator(easeInOut);

animation.setDuration(3000);
myView.startAnimation(animation);