~/talk

Managing State Beyond ViewModels and Hilt

links:none on file
slides:none on file

Migrates from Hilt to Anvil and replaces Android-controlled ViewModel lifecycles with an app-managed scope system that ties Dagger components and coroutine scopes to named scopes (root, user, locked-out) using Dagger multi‑bindings; implements a tiny scoped interface with onEnter/onExit and register/getService APIs to create and tear down services without leaking init details; builds a unidirectional presenter→model→renderer pipeline using CashApp’s molecule runtime and template renderers so business logic runs independent of activities and is easy to unit test with turbine.

AI-written summary · about

  1. 0:00Introduction and background
  2. 8:31Architecture pain points identified
  3. 15:13Design principles and goals
  4. 25:34Removing ViewModels and Hilt
  5. 36:53Final recap and benefits
~/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.