Skip to content
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

To get an gif imperatively, use the get suspend function: #68

Closed
M-kadi opened this issue Aug 24, 2019 · 3 comments
Closed

To get an gif imperatively, use the get suspend function: #68

M-kadi opened this issue Aug 24, 2019 · 3 comments
Labels
enhancement New feature or request

Comments

@M-kadi
Copy link

M-kadi commented Aug 24, 2019

please add this
val drawableGif = Coil.get("https://www.example.com/mygif.gif")

like to get an image:

To get an image imperatively, use the get suspend function:
val drawable = Coil.get("https://www.example.com/image.jpg")

@M-kadi M-kadi added the enhancement New feature or request label Aug 24, 2019
@colinrtwhite
Copy link
Member

Are you asking to add this to the README? I'm not sure it provides extra value to add this considering it already has val drawable = Coil.get("https://www.example.com/image.jpg"). I don't think we should add example get statements for each different file type.

Feel free to reopen this issue if I misunderstood.

@M-kadi
Copy link
Author

M-kadi commented Aug 25, 2019

Sorry

I mean :

I need to :

val drawableGif = Coil.get("https://www.example.com/mygif.gif")

Coil get a gif : is not found

@colinrtwhite
Copy link
Member

To add support for GIFs, check here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants