~/talk

Start Thinking Declaratively

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

Argues that switching to declarative UI on Android with Jetpack Compose makes UI a function of state not a sequence of imperative steps, reduces coupling and raises cohesion, and replaces verbose if/visibility plumbing with simple conditional composables as shown by a message-badge example that collapses dozens of if/else steps into a few expressions. Uses Kotlin features like remember and Modifier, requires Canary Android Studio and Compose is still alpha, but runtime uses a flat-array representation that improves UI update performance.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 2:18Evolution of Android UI
  3. 7:19Declarative vs imperative UI
  4. 10:55State-driven UI with Jetpack Compose
  5. 13:48Coupling vs cohesion in UI code
  6. 17:44Jetpack Compose basics
  7. 22:10Code comparison: Imperative vs Compose
  8. 26:54LiveData vs state in Compose
  9. 29:09Getting started with Jetpack Compose
  10. 31:39Why Jetpack Compose matters
  11. 34:59Jetpack Compose limitations
  12. 36:07Summary and Q&A
~/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.