PaginatedLoadStates

data class PaginatedLoadStates(val refresh: LoadState, val append: LoadState)

The two loads a paginated list runs, tracked apart because they mean different things on screen: a first load owns the whole screen, a next-page load owns a footer.

Parameters

refresh

loading the list from scratch — the first page, or everything again after PaginatedResource.refresh or a profile change.

append

loading the page after the ones already shown.

Constructors

Link copied to clipboard
constructor(refresh: LoadState, append: LoadState)

Properties

Link copied to clipboard
Link copied to clipboard