SupportPagingHelper

data class SupportPagingHelper(var page: Int = 1, var pageOffset: Int = 0, val pageSize: Int, var isPagingLimit: Boolean) : ISupportPagingHelper

Paging helper, makes the manipulating of paging related variables easier

Since

v1.1.0

Constructors

Link copied to clipboard
constructor(page: Int = 1, pageOffset: Int = 0, pageSize: Int, isPagingLimit: Boolean)

Properties

Link copied to clipboard
Link copied to clipboard
var page: Int
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun isFirstPage(): Boolean

Checks if the current page and offset is the first

Link copied to clipboard
open override fun onPageNext()

Calculates the next page offset and index

Link copied to clipboard
open override fun onPagePrevious()

Calculates the previous page offset and index

Link copied to clipboard
open override fun onPageRefresh()

Resets the paging parameters to their default