Code example for ArrayList

Methods: remove

0
 
        public void onAnimationCancel(Animator animation) {
        } 
 
        public void onAnimationEnd(Animator animation) {
            balls.remove(((ObjectAnimator)animation).getTarget());
 
        } 
 
        public void onAnimationRepeat(Animator animation) {
        } 
 
        public void onAnimationStart(Animator animation) {
        } 
    } 
}