Example usage for android.animation Animator setupStartValues

List of usage examples for android.animation Animator setupStartValues

Introduction

In this page you can find the example usage for android.animation Animator setupStartValues.

Prototype

public void setupStartValues() 

Source Link

Document

This method tells the object to use appropriate information to extract starting values for the animation.

Usage

From source file:Main.java

public static boolean start(Animator animator) {
    if (animator != null && animator.isStarted() == false) {
        animator.setupStartValues();
        animator.start();//  w  w  w . j  a  v a  2 s  .  c  o m
        return true;
    }
    return false;
}