lastIndex

val Pagination.lastIndex: Int

Last number in index of objects. In fact, one Pagination object represent data in next range:

[firstIndex, lastIndex]; That means, that for Pagination with Pagination.size == 10 and Pagination.page == 1 you will retrieve Pagination.firstIndex == 10 and Pagination.lastIndex == 19.

common
val Pagination.lastIndex: Int

Last number in index of objects. In fact, one Pagination object represent data in next range:

[firstIndex, lastIndex]; That means, that for Pagination with Pagination.size == 10 and Pagination.page == 1 you will retrieve Pagination.firstIndex == 10 and Pagination.lastIndex == 19.

val Pagination.lastIndex: Int

Last number in index of objects. In fact, one Pagination object represent data in next range:

[firstIndex, lastIndex]; That means, that for Pagination with Pagination.size == 10 and Pagination.page == 1 you will retrieve Pagination.firstIndex == 10 and Pagination.lastIndex == 19.