Package-level declarations

Types

Link copied to clipboard
data class LimitAndOffset(val limit: Int, val offset: Int)

This class is intended to store data about limit and offset parameters.

Link copied to clipboard
interface Paginator

The main purpose of Paginator is to produce limit and offset based on the given page limit and current page.

Functions

Link copied to clipboard
fun Paginator(pageLimit: Int, currentPage: Int): Paginator