Page

data class Page<C : Any, E>(val entries: List<E>, val previousCondition: C? = null, val nextCondition: C? = null)

Fetched page data.

Since

2.2.0

Type Parameters

C

Type of the display condition

E

Type of the entry

Constructors

Link copied to clipboard
constructor(entries: List<E>, previousCondition: C? = null, nextCondition: C? = null)

Properties

Link copied to clipboard
val entries: List<E>

Entries to place in pagination slots

Link copied to clipboard

Condition for the next page, or null if unavailable

Link copied to clipboard

Condition for the previous page, or null if unavailable