compose-imageloader
compose-imageloader copied to clipboard
how to reset disk cache
DiskCache.clear()
should do it.
val diskCache = DiskCache(FileSystem.SYSTEM) {
//...
}
ImageLoader {
interceptor {
diskCache { diskCache }
}
}
diskCache.clear()
will this will effect and image loading in the app life time ImageLoader { interceptor { diskCache { diskCache } } } disk
I think it shouldn’t have effect, the exact implementation is in DiskLruCache, methods are all synchronized.