private void cancelAnimations() { if (rippleAnimator != null) { rippleAnimator.cancel(); rippleAnimator.removeAllListeners(); } if (hoverAnimator != null) { hoverAnimator.cancel(); } }
@Override public void removeAllListeners() { mAnimatorSet.removeAllListeners(); }