SimplePagination

data class SimplePagination(page: Int, size: Int) : Pagination

Functions

contains
Link copied to clipboard
common
open operator fun contains(value: Int): Boolean
isEmpty
Link copied to clipboard
common
open fun isEmpty(): Boolean

Properties

endInclusive
Link copied to clipboard
common
open override val endInclusive: Int
page
Link copied to clipboard
common
open override val page: Int

Started with 0. Number of page inside of pagination. Offset can be calculated as page * size

size
Link copied to clipboard
common
open override val size: Int

Can be 0, but can't be < 0 Size of current page. Offset can be calculated as page * size

start
Link copied to clipboard
common
open override val start: Int