Google은 흑인 공동체를 위한 인종 간 평등을 진전시키기 위해 노력하고 있습니다. Google에서 어떤 노력을 하고 있는지 확인하세요.

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.