LoadStates

public data final 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(
    @NonNull LoadState refresh,
    @NonNull LoadState prepend,
    @NonNull LoadState append
)

Public fields

append

@NonNull
public final @NonNull LoadState append

LoadState corresponding to LoadType.APPEND loads.

prepend

@NonNull
public final @NonNull LoadState prepend

LoadState corresponding to LoadType.PREPEND loads.

refresh

@NonNull
public final @NonNull LoadState refresh

LoadState corresponding to LoadType.REFRESH loads.

Public constructors

LoadStates

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