-
Notifications
You must be signed in to change notification settings - Fork 66
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add pause at end of animation and start/end callbacks #5
Comments
+1 |
I'm not sure if this helps but you can edit RCTImageSequenceView.java , and change animationDrawable.setOneShot(false) to true and it will play one time. |
Is there already a solution to play and pause the animation? Or did you find a fix @tomchambers2 ? |
+1 |
1 similar comment
+1 |
Hello, is there any way to play/stop the animation via code? |
+1 to this as well |
+1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'd like to be able to have the animation pause. So the animation will play all its frames and then pause for a defined period of time. Would also be useful to have a callback in order to sync something else happening in the application, in my case playing a sound synchronised with the animation.
Not great with Obj C, but happy to have a go with a few pointers as to how this could be achieved.
The text was updated successfully, but these errors were encountered: