LoadState

sealed class LoadState

State representing ongoing, completed or failed operations

Inheritors

Types

Link copied to clipboard
data class Error(val details: Throwable, val position: LoadState.Position = Position.UNDEFINED) : LoadState

Load state for failed loading

Link copied to clipboard
data class Idle(val position: LoadState.Position = Position.UNDEFINED) : LoadState

Load state is idle

Link copied to clipboard
data class Loading(val position: LoadState.Position = Position.UNDEFINED) : LoadState

Load state is loading

Link copied to clipboard

State position identifier

Link copied to clipboard
data class Success(val position: LoadState.Position = Position.UNDEFINED) : LoadState

Load state is successful

Properties

Link copied to clipboard

Where the loader should be placed