~/talk

Architectures in the Compose World

Talkat droidcon Italy 2021 · 2021-11-12..11-13· [android, frontend-architecture]
slides:none on file

Compose integrates with existing MVVM/MVI but the deciding details are concrete: unidirectional data flow as the required pattern, a Detail screen where SavedStateHandle pulls ID 123 into a ViewModel, viewModelScope.launch calling a use case and exposing UI via view model + mutableStateOf, Hilt via entry points or a custom composable-scoped component to inject singletons, and navigation using rememberNavController/navHost. Side effects use SharedFlow or channels (single‑live‑event has edge cases); screens replace fragments but lifecycle differences (remember vs viewModel) matter.

AI-written summary · about

  1. 0:00Compose architectures intro
  2. 1:11Unidirectional data flow
  3. 2:58MVVM and MVI patterns
  4. 4:44UI as state function
  5. 6:31Side effects handling
  6. 6:52Immutability & state management
  7. 11:24XML to Compose conversion
  8. 13:49Compose screens & lifecycle
  9. 17:04Hilt dependency injection
  10. 22:20ViewModels in Compose?
  11. 23:42Compose Navigation & ViewModels
  12. 32:11Compose ViewModel alternatives
  13. 32:52Compose requirements
~/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.