~/talk

On the road to Jetpack Compose

Talkat droidcon Americas 2020 · 2020-11-16..11-17· [android, reactive-programming]
name:Tiem Song
github:tiembo
slides:none on file

Jetpack Compose is a Kotlin declarative UI toolkit, open sourced at I/O and currently in alpha, that maps observable state to UI and performs fine-grained recomposition so only affected nodes update. The demo builds a shopping cart using remember mutableStateOf for local state and converts ViewModel LiveData with observeAsState so state hoisting preserves unidirectional data flow. Android Studio offers interactive previews, Compose interops with existing XML via ComposeView and MDC theme adapter, and migration of the Sunflower sample shows incrementally replacing layouts — APIs still change, and animations may trigger frame‑by‑frame recomposition.

AI-written summary · about

  1. 0:00Welcome and introduction
  2. 0:56What is Jetpack Compose
  3. 3:03Compose timeline and state
  4. 4:08First Compose code demo
  5. 5:58Shopping cart state demo
  6. 8:47Understanding state in Compose
  7. 10:55Unidirectional data flow
  8. 16:28State hoisting concept
  9. 23:47What is composition
  10. 25:53Recomposition explained
  11. 31:54Local vs hoisted state
  12. 41:02Migrating to Compose
  13. 46:47Compose adoption summary
  14. 47:58Q&A session
~/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.