Page
data class Page<E : Any>(val dataIndex: Int, val data: List<E>, val itemsBefore: Int?, val itemsAfter: Int?) : IviPagingSource.LoadResult<E>
Substitutes PagingSource.LoadResult.Page.
The PagingSource.LoadResult.Page.prevKey and PagingSource.LoadResult.Page.nextKey are replaced by dataIndex.
Constructors
Properties
Link copied to clipboard
The index of data within the IviPagingSource. Must match with the corresponding LoadParams.dataIndex value.
Link copied to clipboard
Link copied to clipboard