mirror of
https://github.com/InsanusMokrassar/MicroUtils.git
synced 2026-11-07 12:33:38 +00:00
start add paged/loading component
This commit is contained in:
1 parent
85f11439e8
commit
ea527b5e91
6 files changed
+304
No files matched your search
@@ -40,6 +40,8 @@ fun Pagination.intersect(
|
||||
inline val Pagination.isFirstPage
|
||||
get() = page == 0
|
||||
|
||||
fun Pagination.firstPage() = if (isFirstPage) this else SimplePagination(0, size)
|
||||
|
||||
/**
|
||||
* First number in index of objects. It can be used as offset for databases or other data sources
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user