Closed NayMak closed 6 years ago
use .repeatCount(ValueAnimator.INFINITE) and .repeatMode(ValueAnimator.RESTART) (or REVERSE)
Le jeu. 24 mai 2018 à 10:30, NayMak notifications@github.com a écrit :
Hello,
Here is my code:
ViewAnimator viewAnimator = ViewAnimator.animate(textView) .tada() .duration(4000) .repeatMode(ValueAnimator.INFINITE) .start();
The animation works but the 'ValueAnimator.INFINITE' value (which is an enum that is equal to "-1") doesn't work to make the animation loop indefinitely.
Could someone help me to find the issue?
— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/florent37/ViewAnimator/issues/42, or mute the thread https://github.com/notifications/unsubscribe-auth/AFfQXEFSxhlHJgFXFbi_698pcyWVVistks5t1m-3gaJpZM4ULygZ .
It works! Thank you!
;)
How to add delay between loops?
@TurKurT656 I think you need to open a new issue if you want to ask news questions 😊 This topic is closed anyway
Hello,
Here is my code:
The animation works but the 'ValueAnimator.INFINITE' value (which is an enum that is equal to "-1") doesn't work to make the animation loop indefinitely.
Could someone help me to find the issue?