~/talk

Compose Without Flow: Unidirectional State with Snapshots and Coroutines

Talkat AndroidMakers by droidcon 2026 · on Friday, 2026-04-10· at 14:25· [android, frontend-architecture]
slides:none on file

Claims a fully unidirectional Android app is buildable no Kotlin Flow by using Jetpack Compose state and the runtime snapshot system instead of streams, replacing collectAsState/stateIn with computed properties, snapshot APIs (takeSnapshot / withMutableSnapshot / apply observers) and lifecycle-aware producers implemented via retain state producer with lifecycle plus coroutines for activation. Examples include a minute-refreshing news repository and favorites map, several production uses, and the approach simplifies derived-state and enables finer-grained item recomposition.

AI-written summary · about

  1. 0:00Unidirectional state without Flow
  2. 1:06Why Flow feels required
  3. 3:13Flow vs Compose observability
  4. 8:27Flow vs Compose mental models
  5. 11:19Snapshot system fundamentals
  6. 17:59How snapshots track changes
  7. 21:15Removing streams for simplicity
  8. 25:27Lifecycle-aware state activation
  9. 29:21Pure Compose state layers
  10. 34:03Adopt or avoid Compose state
  11. 35:49Future exploration insights
  12. 36:50Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.