is ObjectAnimator Animating - Android android.animation

Android examples for android.animation:ObjectAnimator

Description

is ObjectAnimator Animating

Demo Code


//package com.java2s;

import android.animation.ObjectAnimator;

public class Main {
    static ObjectAnimator animator;

    public static boolean isAnimating() {
        if (animator == null)
            return false;
        return animator.isRunning();
    }//from  w ww. jav  a 2  s .com
}

Related Tutorials