~/talk

Preparing Your App's Architecture for Declarative UI

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [android, frontend-architecture]
links:none on file
name:Meha Garg
links:none on file
slides:none on file

Explains how an existing Android app (sample: Space Library, plus Art Randomizer) separates presentation into immutable state snapshots, a small viewmodel-as-store, a reducer for state transitions and an interactor for data layer work so the same business logic can render via Jetpack Compose or legacy views. Shows concrete code patterns: hoisting component state to the nearest ancestor, scoping navigational → screen → component state hierarchies, and using state hoisting and interactor + reducer to make declarative migration incremental.

AI-written summary · about

  1. 0:00Introduction and speakers
  2. 1:57Declarative vs imperative UI
  3. 4:22Preparing existing apps for declarative UI
  4. 7:14Identifying states and properties
  5. 13:58State hoisting and stateless components
  6. 15:20Unidirectional data flow and state mutations
  7. 18:50Introducing interactors for data layer
  8. 20:58Scoping state into hierarchies
  9. 24:37App architecture breakdown
  10. 29:11State as a function of UI
  11. 30:35Q&A: Data synchronization flow
  12. 33:01Q&A: Refactoring and coexistence
  13. 34:31Q&A: Testing Compose components
  14. 35:13Closing and resources
~/search
type to search 8,222 conferences, 162,397 speakers and 219,688 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
← →
on a talk: 5 seconds back / forward
0–9
on a talk: jump to 0%–90% of the recording
?
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.