PageProvider

interface PageProvider<E : Any>

Interface to load an IviPagingSource.LoadResult.Page from an IviPagingSource.

Functions

Link copied to clipboard
abstract suspend fun load(loadParams: IviPagingSource.LoadParams): IviPagingSource.LoadResult.Page<E>

Loads a page from an IviPagingSource with the given loadParams and returns an IviPagingSource.LoadResult.Page.