start add paged/loading component

This commit is contained in:
2025-03-01 16:49:20 +06:00
parent 85f11439e8
commit ea527b5e91
6 changed files with 304 additions and 0 deletions

View File

@@ -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
*/