Pagination

interface Pagination

An interface for a pagination contract, providing information necessary for manual pagination.

Properties

Link copied to clipboard
abstract val limit: Int

The number of items per page.

Link copied to clipboard
abstract val offset: Int

The offset for the current page.

Link copied to clipboard
abstract val page: Int

The current page.

Link copied to clipboard
abstract var totalItems: Long?

If this is set, the framework knows the list is already filtered and won't attempt to slice it in memory.

Functions

Link copied to clipboard