DecodeResult

class DecodeResult(drawable: Drawable, isSampled: Boolean)

The result of Decoder.decode.

See also

Parameters

drawable

The decoded Drawable.

isSampled

'true' if drawable is sampled (i.e. loaded into memory at less than its original size).

Constructors

DecodeResult
Link copied to clipboard
fun DecodeResult(drawable: Drawable, isSampled: Boolean)
The decoded Drawable.

Functions

copy
Link copied to clipboard
fun copy(drawable: Drawable = this.drawable, isSampled: Boolean = this.isSampled): DecodeResult
equals
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
open override fun hashCode(): Int

Properties

drawable
Link copied to clipboard
val drawable: Drawable
The decoded Drawable.
isSampled
Link copied to clipboard
val isSampled: Boolean
'true' if drawable is sampled (i.e.