Example usage for android.support.v4.view ViewPropertyAnimatorCompat getDuration

List of usage examples for android.support.v4.view ViewPropertyAnimatorCompat getDuration

Introduction

In this page you can find the example usage for android.support.v4.view ViewPropertyAnimatorCompat getDuration.

Prototype

public long getDuration() 

Source Link

Usage

From source file:android.support.v7.view.ViewPropertyAnimatorCompatSet.java

public ViewPropertyAnimatorCompatSet playSequentially(ViewPropertyAnimatorCompat anim1,
        ViewPropertyAnimatorCompat anim2) {
    mAnimators.add(anim1);/*from   ww w.j  a va2 s.  c  om*/
    anim2.setStartDelay(anim1.getDuration());
    mAnimators.add(anim2);
    return this;
}