Local gif only play once.
See original GitHub issueI put a gif in drawable resource of my project and call setAutoPlayAnimations(true)
.
But I found it only play once.
Later I change the local resource to a gif url, it works fine.
Issue Analytics
- State:
- Created 7 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
How to stop an animated gif from looping - Stack Overflow
Open the Animated gif in Photoshop. · Go to the Window tab and select timeline(if the timeline is not already open). · At...
Read more >Change GIF Loop Count - Online GIF Tools
This utility changes the GIF loop count. You can make a GIF animation repeat once, several times, or endlessly. It's free and entirely...
Read more >How To Remove The Endless Loop From Animated GIF[2021]
The answer to the problem is very simple. Just open a GIF editor (or an editor that supports GIFs), then choose Remove loop...
Read more >Animated gif loops stops after playing once on ios hardware only
On a real device animated gifs will play once and stop. Previously they used to loop forever correctly. Strangely they loop forever in...
Read more >Change GIF loop count - add or remove endless loop from GIF ...
Online tool that lets you change animated GIF loop flag. You can use it to add or remove endless loop from animated GIF...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
It looks like your GIF has no NETSCAPE2.0 block, which means that the GIF should only be repeated once.
I suppose that this GIF plays correctly: https://s3.amazonaws.com/giphygifs/media/4aBQ9oNjgEQ2k/giphy.gif
You are right. i download this gif and it works fine. Thank you for your answer.