FileDocCategorySizeDatePackage
ViewPropertyAnimatorCompatJB.javaAPI DocAndroid 5.1 API1948Thu Mar 12 22:22:56 GMT 2015android.support.v4.view

ViewPropertyAnimatorCompatJB

public class ViewPropertyAnimatorCompatJB extends Object

Fields Summary
Constructors Summary
Methods Summary
public static voidsetListener(android.view.View view, ViewPropertyAnimatorListener listener)

        if (listener != null) {
            view.animate().setListener(new AnimatorListenerAdapter() {
                @Override
                public void onAnimationCancel(Animator animation) {
                    listener.onAnimationCancel(view);
                }

                @Override
                public void onAnimationEnd(Animator animation) {
                    listener.onAnimationEnd(view);
                }

                @Override
                public void onAnimationStart(Animator animation) {
                    listener.onAnimationStart(view);
                }
            });
        } else {
            view.animate().setListener(null);
        }
    
public static voidwithEndAction(android.view.View view, java.lang.Runnable runnable)

        view.animate().withEndAction(runnable);
    
public static voidwithLayer(android.view.View view)

        view.animate().withLayer();
    
public static voidwithStartAction(android.view.View view, java.lang.Runnable runnable)

        view.animate().withStartAction(runnable);