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

MutableLoadStateCollection

class MutableLoadStateCollection
kotlin.Any
   ↳ androidx.paging.MutableLoadStateCollection

TODO: Remove this once PageEvent.LoadStateUpdate contained CombinedLoadStates.

Summary

Public constructors
<init>(hasRemoteState: Boolean)

TODO: Remove this once PageEvent.LoadStateUpdate contained CombinedLoadStates.

Public methods
LoadState?
get(type: LoadType, remote: Boolean)

Unit
set(combinedLoadStates: CombinedLoadStates)

Boolean
set(type: LoadType, remote: Boolean, state: LoadState)

CombinedLoadStates

Public constructors

<init>

MutableLoadStateCollection(hasRemoteState: Boolean)

TODO: Remove this once PageEvent.LoadStateUpdate contained CombinedLoadStates.

Public methods

get

fun get(
    type: LoadType,
    remote: Boolean
): LoadState?

set

fun set(combinedLoadStates: CombinedLoadStates): Unit

set

fun set(
    type: LoadType,
    remote: Boolean,
    state: LoadState
): Boolean

snapshot

fun snapshot(): CombinedLoadStates