Java tutorial
//package com.java2s; //License from project: Apache License import android.animation.Animator; import java.util.List; public class Main { public static boolean start(List<Animator> animators) { boolean isStartCalled = false; if (animators != null) { for (Animator animator : animators) { if (start(animator)) { isStartCalled = true; } } } return isStartCalled; } public static boolean start(Animator animator) { if (animator != null && animator.isStarted() == false) { animator.setupStartValues(); animator.start(); return true; } return false; } }