private void cancelAnimations() {
    if (rippleAnimator != null) {
      rippleAnimator.cancel();
      rippleAnimator.removeAllListeners();
    }

    if (hoverAnimator != null) {
      hoverAnimator.cancel();
    }
  }
Exemple #2
0
 @Override
 public void removeAllListeners() {
   mAnimatorSet.removeAllListeners();
 }