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

CoilImage(...) and Recomposition #42

Closed
Rahkeen opened this issue Jul 9, 2020 · 3 comments
Closed

CoilImage(...) and Recomposition #42

Rahkeen opened this issue Jul 9, 2020 · 3 comments

Comments

@Rahkeen
Copy link

Rahkeen commented Jul 9, 2020

I have a usecase where I have a grid of images (loaded over network) and when I click on an image I show a new screen with that that image loaded again in a larger container with some extra metadata. I am having issues updating the composable with a new image url, sometimes it will show the old image.

Here is gif of the issue:
coil_image_issue_smaller

Basically when I click on the first image it loads and shows correctly, but then when I click on other cells in the grid, it will show the image of the cell I previously clicked.

Anything I am doing wrong? It's recomposing and updating the data passed in, but not always showing the new image.

@Rahkeen
Copy link
Author

Rahkeen commented Jul 9, 2020

Hmmm, might have been an issue on my end. Gonna close for now 😅.

@Rahkeen Rahkeen closed this as completed Jul 9, 2020
@chrisbanes
Copy link
Contributor

I fixed an issue which sounds like this in #35. You could try the v0.1.7-SNAPSHOT if you want to try it out (info)

@Rahkeen
Copy link
Author

Rahkeen commented Jul 9, 2020

Ooh, i'll give it a shot, thanks!

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

No branches or pull requests

2 participants