InternalCacheDiskCacheFactory

class InternalCacheDiskCacheFactory : DiskLruCacheFactory

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

Constructors

Link copied to clipboard
open fun InternalCacheDiskCacheFactory(context: Context)
Link copied to clipboard
open fun InternalCacheDiskCacheFactory(context: Context, diskCacheSize: Long)
Link copied to clipboard
open fun InternalCacheDiskCacheFactory(    context: Context,     diskCacheName: String,     diskCacheSize: Long)

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.