PagedData

data class PagedData<T>(val data: List<T>, val totalCount: Int)

Represents a part or a page of a larger data

Constructors

Link copied to clipboard
fun <T> PagedData(data: List<T>, totalCount: Int)

Properties

Link copied to clipboard
val data: List<T>

The part or page of data

Link copied to clipboard
val totalCount: Int

The total number of data that can be retrieved