Hello guys, I have a lazy row whose Items each contain a network image loaded with coil's AsyncImage...
j
Hello guys, I have a lazy row whose Items each contain a network image loaded with coil's AsyncImage. However, whenever i scroll, the images attempt to reload. How do I prevent this recomposition?
s
Coil should have some cache where it can store previously loaded images so that it can load them quickly (maybe on the first frame?) if they are in cache. Can you try and look into your Coil configuration and if you’re giving it a sufficiently big cache to store those images?
j
Thanks for the assistance
s
Did it work? I am also curious if this was what had to be done. Did you give it a try and notice some difference? If you do I’d really appreciate it if you could come back here and tell me how it went