Im trying to stop the animation of an ImageView when a button is clicked. The animation I am using is an AnimatorSet consisting of 5 ObjectAnimat
ImageView
AnimatorSet
ObjectAnimat
If you had AnimatorSet listeners added, make sure you remove the listeners before cancel.
animatorSet.removeAllListeners(); animatorSet.end(); animatorSet.cancel();