boolean isPreviousAnimationCompleted ( ) { Animation previousAnimation = view . getAnimation ( ) ; boolean previousAnimationCompleted = previousAnimation == null || previousAnimation . hasEnded ( ) ; if ( ! previousAnimationCompleted ) { LOGGER . warn ( "Unable to move the view. View is being currently moving" ) ; } return previousAnimationCompleted ; }
Checks whether previous animation on the view completed