DrawableResult

data class DrawableResult(drawable: Drawable, isSampled: Boolean, dataSource: DataSource) : FetchResult

A direct Drawable result. Return this from a Fetcher if its data cannot be converted into a BufferedSource.

Parameters

drawable

The loaded Drawable.

isSampled

True if drawable is sampled (i.e. not loaded into memory at full size).

dataSource

The source that drawable was fetched from.

Constructors

DrawableResult
Link copied to clipboard
fun DrawableResult(drawable: Drawable, isSampled: Boolean, dataSource: DataSource)

Properties

dataSource
Link copied to clipboard
val dataSource: DataSource
drawable
Link copied to clipboard
val drawable: Drawable
isSampled
Link copied to clipboard
val isSampled: Boolean