LoadStates

public final data class LoadStates


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

Summary

Public fields

final @NonNull LoadState

LoadState corresponding to LoadType.APPEND loads.

final @NonNull LoadState

LoadState corresponding to LoadType.PREPEND loads.

final @NonNull LoadState

LoadState corresponding to LoadType.REFRESH loads.

Public constructors

LoadStates(LoadState refresh, LoadState prepend, LoadState append)

Public fields

append

public final @NonNull LoadState append

LoadState corresponding to LoadType.APPEND loads.

prepend

public final @NonNull LoadState prepend

LoadState corresponding to LoadType.PREPEND loads.

refresh

public final @NonNull LoadState refresh

LoadState corresponding to LoadType.REFRESH loads.

Public constructors

LoadStates

public final LoadStates(LoadState refresh, LoadState prepend, LoadState append)