Disposable

interface Disposable

Represents the work of an ImageRequest that has been executed by an ImageLoader.

Properties

Link copied to clipboard
abstract val isDisposed: Boolean

Returns 'true' if this disposable's work is complete or cancelling.

Link copied to clipboard
abstract val job: Deferred<ImageResult>

The most recent image request job. This field is not immutable and can change if the request is replayed.

Functions

Link copied to clipboard
abstract fun dispose()

Cancels this disposable's work and releases any held resources.