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

    if (hoverAnimator != null) {
      hoverAnimator.cancel();
    }
  }
Пример #2
0
 @Override
 public void removeAllListeners() {
   mAnimatorSet.removeAllListeners();
 }