Reimagining Pagination in Kotlin Multiplatform
summary
StoreX Paging implements a UDF‑first, normalized store built on Store and Molecule (Compose runtime) that exposes a stateflow of id lists and per‑item self-updating items so single rows update without reloading the list. It accepts an AndroidX paging source, offers operation pipelines (filter/validate/dedupe), mutation support for optimistic local updates, configurable fetching and error strategies (ignore / pass‑through / retry), and benchmarks show slightly slower initial load, marginally better incremental loads, fewer recompositions and reduced jank.
AI-written summary · about
chapters (11)
- 0:00StoreX Paging intro
- 1:50Key features and design
- 3:40Performance benchmarks
- 5:10UDF-first design
- 7:43Self-updating items
- 10:13Operation pipelines
- 15:17Normalized store and mutations
- 17:33Liking a post use case
- 18:39Customization APIs
- 21:07Error handling strategies
- 22:11AndroidX Paging integration
related talks
27mModern Paging at Scale: StoreX + Compose
33mAndroid Jetpack: Manage infinite lists with RecyclerView and Paging
39mUnidirectional data flow on Android using Kotlin
34mInside Android KTX
40mNavigation in a Multiplatform World
17mFrom SQL to Flow: clean offline-first architecture with Kotlin 2.x
41mKotlin for the JVM and beyond
25mGraphQL Pagination at Meta
