Paginator

interface Paginator

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

Properties

Link copied to clipboard
abstract var currentPage: Int
Link copied to clipboard
abstract val limit: Int
Link copied to clipboard
Link copied to clipboard
abstract val offset: Int
Link copied to clipboard
abstract val pageLimit: Int

Functions

Link copied to clipboard
abstract fun isLast(totalElements: Int): Boolean