So I'm using Coil image loading library to load images from an API by specifying the image URL. However when there is no internet connection I want to be able to see those images in my app. Is there any support for that kind of thing in Coil library or we should store those images locally by ourselves?
And if so, should we convert that image URL to bitmap using Coil and then save it locally?
UPDATE:
I'm using the library with Jetpack Compose btw.
val painter = rememberImagePainter("$BASE_URL${item.image}") {
memoryCachePolicy(policy = CachePolicy.ENABLED)
}