DiskCacheStrategy
Set of available caching strategies for media.
Functions
Link copied to clipboard
Returns true if this request should attempt to decode cached source data.
Link copied to clipboard
Returns true if this request should attempt to decode cached resource data.
Link copied to clipboard
Returns true if this request should cache the original unmodified data.
Link copied to clipboard
abstract fun isResourceCacheable( isFromAlternateCacheKey: Boolean, dataSource: DataSource, encodeStrategy: EncodeStrategy): Boolean
Content copied to clipboard
Returns true if this request should cache the final transformed resource.
Properties
Link copied to clipboard
Tries to intelligently choose a strategy based on the data source of the and the of the com.bumptech.glide.load.ResourceEncoder (if an com.bumptech.glide.load.ResourceEncoder is available).
Link copied to clipboard