アニメーション リスナーで提供される Animator で .cancel() を呼び出せない理由はありますか?
次のコードを実行すると、StackOverflowError が発生します。
animation.addListener(new ValueAnimator.AnimatorListener() {
@Override
public void onAnimationStart(Animator animator) {
if (!showCircles)
animator.cancel();
}
....