Replies: 1 comment
-
You could manually trigger the update with |
Beta Was this translation helpful? Give feedback.
0 replies
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
-
I'm using file paths as models with Coil on a PC, and I encountered a situation involving file copies and deletions. For example, if I have an image img, and I generate copies like img
1, img2, etc., when I delete img2 and then create a new copy, it will reuse the same name img2 (according to the current naming rules).The issue is that two different images, one deleted and one newly created, share the same file name. This causes Coil to not update the image since the path remains the same.
Is there a standard way to force Coil to refresh the image in such cases? I can listen to file changes—can this be used as a manual trigger to refresh the ImageLoader?
Beta Was this translation helpful? Give feedback.
All reactions