Make coil do not respect cache headers (possibly #59)
This commit is contained in:
parent
493fc75345
commit
cfe5dc965f
1 changed files with 1 additions and 0 deletions
|
@ -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"))
|
||||
|
|
Loading…
Reference in a new issue