Make coil do not respect cache headers (possibly #59)
This commit is contained in:
@@ -18,6 +18,7 @@ class MainApplication : Application(), ImageLoaderFactory {
|
||||
override fun newImageLoader(): ImageLoader {
|
||||
return ImageLoader.Builder(this)
|
||||
.crossfade(true)
|
||||
.respectCacheHeaders(false)
|
||||
.diskCache(
|
||||
DiskCache.Builder()
|
||||
.directory(cacheDir.resolve("coil"))
|
||||
|
||||
Reference in New Issue
Block a user