DiskLruCacheFactory
Creates an com.bumptech.glide.disklrucache.DiskLruCache based disk cache in the specified disk cache directory.
If you need to make I/O access before returning the cache directory use the DiskLruCacheFactory constructor variant.
Constructors
Link copied to clipboard
open fun DiskLruCacheFactory(diskCacheFolder: String, diskCacheSize: Long)
Content copied to clipboard
Link copied to clipboard
open fun DiskLruCacheFactory( diskCacheFolder: String, diskCacheName: String, diskCacheSize: Long)
Content copied to clipboard
Link copied to clipboard
open fun DiskLruCacheFactory(cacheDirectoryGetter: DiskLruCacheFactory.CacheDirectoryGetter, diskCacheSize: Long)
Content copied to clipboard
When using this constructor getCacheDirectory will be called out of UI thread, allowing to do I/O access without performance impacts.