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

LoadStates

data class LoadStates
kotlin.Any
   ↳ androidx.paging.LoadStates

Collection of pagination LoadStates - refresh, prepend, and append.

Summary

Public constructors
<init>(refresh: LoadState, prepend: LoadState, append: LoadState)

Collection of pagination LoadStates - refresh, prepend, and append.

Public methods
Unit

Properties
LoadState

LoadState corresponding to LoadType.APPEND loads.

LoadState

LoadState corresponding to LoadType.PREPEND loads.

LoadState

LoadState corresponding to LoadType.REFRESH loads.

Public constructors

<init>

LoadStates(
    refresh: LoadState,
    prepend: LoadState,
    append: LoadState)

Collection of pagination LoadStates - refresh, prepend, and append.

Public methods

forEach

inline fun forEach(op: (LoadType, LoadState) -> Unit): Unit

Properties

append

val append: LoadState

LoadState corresponding to LoadType.APPEND loads.

prepend

val prepend: LoadState

LoadState corresponding to LoadType.PREPEND loads.

refresh

val refresh: LoadState

LoadState corresponding to LoadType.REFRESH loads.