PagingData
data class PagingData<Value : Any>( val list: List<Value>, val state: PagingData.LoadState, val totalCount: Int?)
Content copied to clipboard
Contain current paged data (in list) and current load state (in state)
Constructors
Link copied to clipboard
fun <Value : Any> PagingData( list: List<Value>, state: PagingData.LoadState, totalCount: Int?)
Content copied to clipboard
Types
Properties
Link copied to clipboard
Link copied to clipboard
The total item count, if reported in PagingDataSource.LoadResult.Page