PaginationState

constructor(currentPage: Int, maxPages: Int, buttonCount: Int = 5)

Parameters

currentPage

current page number

maxPages

maximum number of pages

buttonCount

number of page buttons