endOngoingAnimations

Ends all ongoing animations. This will cancel the animation and invoke the AnimationListener.onAnimationEnd on the animationListener.

Note: This function will also be executed when the lifecycle is stopped. Calling it again will have no effect in this case.