PagingData
class PagingData<T : Any>
kotlin.Any | |
↳ | androidx.paging.PagingData |
Container for Paged data from a single generation of loads.
Each refresh of data (generally either pushed by local storage, or pulled from the network) will have a separate corresponding PagingData.
Summary
Companion functions | |
---|---|
PagingData<T> |
empty() Create a PagingData that immediately displays an empty list of items when submitted to AsyncPagingDataAdapter. |
PagingData<T> |
Create a PagingData that immediately displays a static list of items when submitted to AsyncPagingDataAdapter. |
Extension functions | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
From androidx.paging
|