ExternalCacheDiskCacheFactory

Creates an com.bumptech.glide.disklrucache.DiskLruCache based disk cache in the external disk cache directory.

Images can be read by everyone when using external disk cache.

Deprecated

use ExternalPreferredCacheDiskCacheFactory instead.

Constructors

Link copied to clipboard
open fun ExternalCacheDiskCacheFactory(context: Context)
Link copied to clipboard
open fun ExternalCacheDiskCacheFactory(context: Context, diskCacheSize: Int)
Link copied to clipboard
open fun ExternalCacheDiskCacheFactory(    context: Context,     diskCacheName: String,     diskCacheSize: Int)

Functions

Link copied to clipboard
open fun build(): DiskCache
Returns a new disk cache, or null if no disk cache could be created.

Properties

Link copied to clipboard
val DEFAULT_DISK_CACHE_DIR: String
Link copied to clipboard
val DEFAULT_DISK_CACHE_SIZE: Int
250 MB of cache.