~/talk

Implementing Modern Android Architecture

Talkat droidcon Berlin 2022 · 2022-07-06..07-08· [frontend-architecture, android]
slides:none on file

Concrete implementation of the Now in Android open‑source app demonstrates a layered UI/domain/data architecture with repositories, Room as the local single source of truth, and Flow/StateFlow for reactive streams. UI state is composed by combining flows and exposed via stateIn with whileSubscribed(5s) to free resources; the UI collects it with collectAsStateWithLifecycle. ViewModels hold business logic and screen state, plain stateholder classes hold UI logic and hoisted element state; user-facing events are modeled as state (nullable userMessage) and acknowledged by the UI.

AI-written summary · about

  1. 0:00Welcome and intro
  2. 1:54Why architecture matters
  3. 6:50Core architecture principles
  4. 13:50Layered architecture overview
  5. 17:23Data layer implementation
  6. 20:11UI layer and state management
  7. 24:07UI logic and state at scale
  8. 35:01Handling UI events
  9. 43:07Domain layer and closing
~/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.