onResourceReady
abstract fun onResourceReady( resource: ResourceT, model: Any, target: Target<ResourceT>, dataSource: DataSource, isFirstResource: Boolean, isAlternateCacheKey: Boolean): Boolean
Content copied to clipboard
Identical to onResourceReady except that isAlternateCacheKey
is provided.
Parameters
isAlternateCacheKey
True if the data was obtained from the disk cache using an alternate cache key provided by a com.bumptech.glide.load.model.ModelLoader via alternateKeys. Valid only if
dataSource
is DATA_DISK_CACHE or RESOURCE_DISK_CACHE.