ImageState

sealed class ImageState

Represents the different states of image loading for a BasicImage.

Inheritors

Types

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

The state when an error has occurred during image loading.

Link copied to clipboard
data object LOADING : ImageState

The state while the image is being downloaded or loaded from a local path.

Link copied to clipboard
data object NONE : ImageState

The initial state before any loading has started.

Link copied to clipboard
data object SHOWING : ImageState

The state when the image has been successfully loaded and is being displayed.