You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Suppose there are several types of images (user images, friends images, pets images),
and I don't want the user scrolling through his many friends images to have the side effect of deleting his own images from the cache because there's not enough space.
So I want to save the files in different caches (or folders) and limit each folder size.
Not sure how to do it. Digging into the documentation here, I found something regarding the parameter imageCacheName:
The name of [ImageCache], you can define custom [ImageCache] to store this image. In this way you can work with them without affecting other [ImageCache]
--
Suppose there are several types of images (user images, friends images, pets images),
and I don't want the user scrolling through his many friends images to have the side effect of deleting his own images from the cache because there's not enough space.
So I want to save the files in different caches (or folders) and limit each folder size.
Not sure how to do it. Digging into the documentation here, I found something regarding the parameter imageCacheName:
The name of [ImageCache], you can define custom [ImageCache] to store this image. In this way you can work with them without affecting other [ImageCache]
--
However, looking at the implementation itself, the images from the network are actually downloaded to the exact same folder:
https://github.com/fluttercandies/extended_image_library/blob/5c80d086b195cbd3e3ce2836fcea8ef2291e3eff/lib/src/platform.dart#L13
How do I actually make several image caches happen then?
The text was updated successfully, but these errors were encountered: