calculatePage

fun calculatePage(firstIndex: Int, resultsSize: Int): Int(source)

Return

calculated page number which can be correctly used in PaginationResult as PaginationResult.page value