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
Assign it to a YoYoString variable. YoYo.YoYoString yoyoString = YoYo.with(animationView) .duration(1000) .repeat(100) .withListener(so on).playOn(view);
then later on your code you can call yoyoString.stop().
Hello all how i can stop animation please:
YoYo.with(animationView).duration(1000).repeat(100).withListener(new Animator.AnimatorListener() {
@OverRide
public void onAnimationStart(Animator animation) {
}
@OverRide
public void onAnimationEnd(Animator animation) {
}
@OverRide
public void onAnimationCancel(Animator animation) {
}
@OverRide
public void onAnimationRepeat(Animator animation) {
}
}).playOn(view);
The text was updated successfully, but these errors were encountered: