PagingDataSource
Base class for an abstraction of pageable static data from some source, where loading pages of data is typically an expensive operation. Some examples of common PagingDataSources might be from network or from a database.
An instance of a PagingDataSource is used to load pages of data for an instance of Pager.
Constructors
Types
Link copied to clipboard
Parameters to use for a load request on a PagingDataSource.
Link copied to clipboard
Functions
Link copied to clipboard
abstract suspend fun load(params: PagingDataSource.LoadParams<Key>): PagingDataSource.LoadResult<Key, Value>
Content copied to clipboard