LoadType
enum class LoadType
kotlin.Any | ||
↳ | kotlin.Enum<androidx.paging.LoadType> | |
↳ | androidx.paging.LoadType |
Type of load a PagingData can trigger a PagingSource to perform.
LoadState of any LoadType may be observed for UI purposes by registering a listener via androidx.paging.PagingDataAdapter.addLoadStateListener or androidx.paging.AsyncPagingDataDiffer.addLoadStateListener.
Summary
Enum values | |
---|---|
Load at the end of a PagingData. |
|
Load at the start of a PagingData. |
|
PagingData content being refreshed, which can be a result of PagingSource invalidation, refresh that may contain content updates, or the initial load. |
Inherited extension functions | ||
---|---|---|
From androidx.core.util
|
Enum values
REFRESH
enum val REFRESH : LoadType
PagingData content being refreshed, which can be a result of PagingSource invalidation, refresh that may contain content updates, or the initial load.