-
Notifications
You must be signed in to change notification settings - Fork 660
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
Any best practises for RecyclerView? #35
Comments
Hi, can you post a GIF/video of the issue you're running into? Coil should be efficient by default when working with RecyclerViews. Requests will be automatically stopped as the Views scroll off screen. Bitmap pooling also helps with recycling memory on pre-O. |
Here it is. I am loading the whole gallery using Maybe the good decision to convert it in bitmaps at first and then populate the list. Any ideas? |
I'm not sure I follow. Can you post a sample project that reproduces the issue? Thanks. |
It looks like the images in the GIF you posted aren't being cached in the memory cache. Currently, the image cache only supports |
Is that a technical limitation or just not implemented? |
@ZacSweers Not implemented, though I have a WIP branch which should make it into an upcoming release. It was planned to support all |
Is your feature request related to a problem? Please describe.
I would like to know, how can I optimize Coil for proper work with RecyclerView. I am loading the whole device's gallery in it using Coil and it properly loads all images separately, but if I would scroll list there are animations drops. Maybe there is some kind of optimization for such situations?
The text was updated successfully, but these errors were encountered: