ImageLoadState

sealed class ImageLoadState

FrescoImageState is a common interface of the image requesting states.

Types

Failure
Link copied to clipboard
data class Failure(data: Any?) : ImageLoadState
Request failed.
Loading
Link copied to clipboard
data class Loading(progress: Float) : ImageLoadState
Request is currently in progress.
None
Link copied to clipboard
object None : ImageLoadState
Request not started.
Success
Link copied to clipboard
data class Success(imageBitmap: ImageBitmap?) : ImageLoadState
Request is completed successfully amd ready to use an ImageBitmap.

Inheritors

ImageLoadState
Link copied to clipboard
ImageLoadState
Link copied to clipboard
ImageLoadState
Link copied to clipboard
ImageLoadState
Link copied to clipboard