PaginatedListSnapshotExt<T> extension

PaginatedList snapshot extensions

on

Properties

hasPageError bool

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Is the data an error
no setter
isInitialLoading bool

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Is this the initial loading of the snapshot data
no setter
isLoading bool

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Is the data loading
no setter
isNextPageLoading bool

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Is the next page loading
no setter
itemCount int

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Returns the number of items from the snapshot, assuming the data exists.
no setter
pageNumber int

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Returns the current page number, assuming the data exists.
no setter

Methods

getItem(int index) → T?

Available on AsyncSnapshot<PaginatedList<T>>, provided by the PaginatedListSnapshotExt extension

Returns the element of the snapshot or null (if element outside range), assuming the snapshot data exists.