~/talk

Using Jetpack libraries in Compose

Talkat Google I/O 2021 · 2021-05-18..05-20· [android]
slides:none on file

Shows a concrete migration: an existing app called Bloom is converted screen‑by‑screen so UI switches to Compose while the rest stays intact. Demonstrates Room, Paging, ViewModel, Hilt, Navigation Compose working without rewrites, using APIs like collectAsLazyPagingItems and observerState/collectAsState for LiveData/Flow. Builds a reusable collections carousel state class (not a ViewModel), adds a plant detail route with saveStateHandle, and uses hiltNavGraphViewModel so navigation‑scoped view models and state survive and work.

AI-written summary · about

  1. 0:00Start
  2. 3:29Stateless Composables
  3. 5:31Browse Collections Carousel
  4. 11:49Nav Controller
  5. 12:33Nav Host Composable
  6. 15:31Plant Detail Screen
~/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.