SuccessResult
class SuccessResult(drawable: Drawable, request: ImageRequest, dataSource: DataSource, memoryCacheKey: MemoryCache.Key?, diskCacheKey: String?, isSampled: Boolean, isPlaceholderCached: Boolean) : ImageResult
Content copied to clipboard
Indicates that the request completed successfully.
Constructors
SuccessResult
Link copied to clipboard
fun SuccessResult(drawable: Drawable, request: ImageRequest, dataSource: DataSource, memoryCacheKey: MemoryCache.Key? = null, diskCacheKey: String? = null, isSampled: Boolean = false, isPlaceholderCached: Boolean = false)
Content copied to clipboard
Functions
copy
Link copied to clipboard
fun copy(drawable: Drawable = this.drawable, request: ImageRequest = this.request, dataSource: DataSource = this.dataSource, memoryCacheKey: MemoryCache.Key? = this.memoryCacheKey, diskCacheKey: String? = this.diskCacheKey, isSampled: Boolean = this.isSampled, isPlaceholderCached: Boolean = this.isPlaceholderCached): SuccessResult
Content copied to clipboard
Properties
dataSource
Link copied to clipboard
diskCacheKey
Link copied to clipboard
isPlaceholderCached
Link copied to clipboard
'true' if ImageRequest.placeholderMemoryCacheKey was present in the memory cache.
memoryCacheKey
Link copied to clipboard
request
Link copied to clipboard