You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think there the methode onAnimationEnd() is called twice because the BallShadowPainter inherited from BallPainter. When doActionDown is called, it set state for all ballPainter and ballShadowPainter. The setState method from BallPainter which call moveAnimator.start()/reverse(). When the ballPainter and ballShadowPainter, they both call the onAnimationEnd().
when toggle switch it's listener called two times .

The text was updated successfully, but these errors were encountered: