~/talk

Demystifying Molecule: Running Your Own Compositions For Fun And Profit

Talkat droidcon London 2022 · 2022-10-27..10-28· [testing]
slides:none on file

Shows how Compose’s runtime can run headless so business logic emits testable streams: molecule turns composables into flows by creating a Recomposer, supplying a no-op Applier and a FrameClock, conflating invalidation events into a single apply. Exposes both Flow (cold) and StateFlow (hot) APIs, which pair with Turbine for deterministic unit tests. Recommends using the immediate clock for fast unit tests, and explains using ViewModel or rememberSaveable for persistence; the approach is simple and it works.

AI-written summary · about

  1. 0:00Introduction and motivation
  2. 1:32What is Jetpack Compose
  3. 6:07Reactive programming challenges
  4. 10:18Coroutines and Flow improvements
  5. 13:03Compose beyond UI
  6. 17:37How Molecule works internally
  7. 23:00Testing Molecule flows
  8. 27:11Architecture with Compose
  9. 31:52Modern Compose libraries
  10. 33:17Closing 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.