PaginatedListSnapshotExt<T> extension

PaginatedList snapshot extensions

on

Properties

hasPageError bool
Is the data an error
no setter
isInitialLoading bool
Is this the initial loading of the snapshot data
no setter
isLoading bool
Is the data loading
no setter
isNextPageLoading bool
Is the next page loading
no setter
itemCount int
Returns the number of items from the snapshot, assuming the data exists.
no setter
pageNumber int
Returns the current page number, assuming the data exists.
no setter

Methods

getItem(int index) → T?
Returns the element of the snapshot or null (if element outside range), assuming the snapshot data exists.