LoadState

sealed class LoadState

Model of load state.

Types

Link copied to clipboard
class Error(val error: Throwable) : PagingData.LoadState

The last fetching operation has failed. his value can be used in the UI layer to show an error message. Operation can be retried by using PagingEventEmitter.retry

Link copied to clipboard
object Loading : PagingData.LoadState

A page is currently being fetched. This value can be used in the UI layer to show a list loader

Link copied to clipboard
object NotLoading : PagingData.LoadState

No fetching operation in progress. No further data has been requested or the end of the list has been reached

Inheritors

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