Replies: 1 comment
-
You're converting the drawable to a bitmap which is a static image. You need to set the drawable on the |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I am trying to load a gif from file like this
This works fine for images but if the file is a gif the gif does not animate. If I remove the target section of the ImageRequest builder the gif plays as expected.
What I suspect is the issue here is the line
_contentImage.setImageBitmap(result.toBitmap())
in the onSuccess but this is the only way I was able to actually get images to show in the imageview, without that nothing ever appeared so perhaps I am doing something wrong there causing gifs not to animate?Beta Was this translation helpful? Give feedback.
All reactions