~/talk

Migrating your app to compose, step 1, live coding

Talkat droidcon Berlin 2021 · 2021-10-20..10-22· [android, reactive-programming]
slides:none on file

Live coding converts one Android view card into a Jetpack Compose composable as the concrete first step of migration, showing a working component that compiles and previews in the sample app. It uses Modifier-first patterns, Compose layouts and Preview, replaces DrawableSpan with InlineTextContent/AnnotatedString for embedded icons, and wires up contentDescription and focusable behavior for TalkBack support. The card preserves rounded corners, color alpha tweaks and right-aligned price rendering and runs in the demo activity.

AI-written summary · about

  1. 0:00Introduction and overview
  2. 1:05Migrating navigation first
  3. 4:06Starting with specialized components
  4. 10:07Converting to Compose basics
  5. 15:22Testing component sizing
  6. 16:28Handling text overflow
  7. 21:46Adding image resources
  8. 27:15Styling text content
  9. 32:17Final adjustments and summary
~/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.