Google berkomitmen untuk mendorong terwujudnya keadilan ras bagi komunitas Kulit Hitam. Lihat caranya.

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
infix Range<T>
T.rangeTo(that: T)

Creates a range from this Comparable value to that.

Enum values

APPEND

enum val APPEND : LoadType

Load at the end of a PagingData.

PREPEND

enum val PREPEND : LoadType

Load at the start of a PagingData.

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.