Closed panpf closed 1 year ago
Could you share a project/snippet reproducing this issue?
val imageView =... val gifDrawable = GifDrawable(context.assets, "dog.jpg") imageView.setImageDrawable(gifDrawable) gifDrawable.start()
Play animation for a while and then stop playing
There is no play and stop in your snippet.
Sorry, less copy a line, already added in the previous one
OK, there is a play but no stop. Also there is no printing anything to the log and no GIF file. Please post a complete example.
This is the test project: GifTest.zip
The screenshot below is the debug log:
It should be noted that this is not a problem with a certain gif, because the gif I got from the GIPHY API has the same problem
Has the problem been reproduced?
No, I couldn't reproduce that. Tried on various emulators. I'll close this issue for now, but if there will be some new information I'll take a look.
Symptom:
Debug found:
Test environment:
Looking forward to your reply, thank you!