~/talk

Demystifying Molecule: Running Your Own Compositions For Fun And Profit

Talkat droidcon New York 2022 · 2022-09-01..09-02· [android, reactive-programming]
links:none on file
slides:none on file

Molecule turns a Composable into an asynchronous stream by running a recomposer + composition with a no‑op applier, observing snapshot state via a conflated channel, and emitting values as a Flow; it exposes moleculeFlow (cold back‑pressured flow) and launchMolecule (state flow) and uses an immediate frame clock in tests so recomposition isn’t racy. Cash App uses it in production, tests use Turbine, and the approach simplifies combining state and job management.

AI-written summary · about

  1. 0:00Introduction
  2. 1:59Compose UI basics
  3. 5:30Separating UI and logic
  4. 8:41From callbacks to RxJava
  5. 13:55Kotlin coroutines and flows
  6. 17:43Compose without UI
  7. 22:05Building Molecule runtime
  8. 28:24Key Molecule concepts
  9. 31:55Testing with Molecule
  10. 35:47Architecture with Compose
  11. 39:16Alternatives and libraries
  12. 40:39Wrap-up and resources
~/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.