ImageState

sealed class ImageState

Indicates the current state of an BasicImage as it proceeds through the ImageLoader.load cycle

Inheritors

Types

Link copied to clipboard
data class ERROR(val message: String) : ImageState

ImageState.ERROR indicates an error has occurred.

Link copied to clipboard
data object LOADING : ImageState

ImageState.LOADING indicates the bitmap is being downloaded by URL or opened at the Path

Link copied to clipboard
data object NONE : ImageState

ImageState.NONE indicates BasicImage has not been initiated

Link copied to clipboard
data object SHOWING : ImageState

ImageState.SHOWING indicates the BasicImage is displaying the bitmap