kotlin-multiplatform-paging
Installation
SKILL.md
When to Use This Skill
Use when:
- A screen needs to load a list in pages from a remote API or local database
- Implementing infinite scroll or "load more" behaviour
- Using cursor-based pagination (next-page token from API) or offset-based (page number)
- Combining network fetch with SQLDelight local cache via
RemoteMediator - Migrating a
List<T>inUiStateto a paged source
Trigger keywords: paging, Paging 3, PagingSource, Pager, PagingData, LazyPagingItems, collectAsLazyPagingItems, infinite scroll, load more, paginate, next page, cursor pagination, offset pagination, page token, RemoteMediator, load state, append loading, paged list KMP.
Freshness rule: androidx.paging:paging-common became multiplatform in 3.3.x —
verify the version in libs.versions.toml supports KMP before using it on non-Android
targets. Check the AndroidX Paging release notes
when upgrading. paging-compose lags one version behind paging-common — keep them in sync.