~/talk

Codelab: Jetpack Compose Basics

Talkat Android Worldwide October 2021 · on Thursday, 2021-10-28· [android]
name:Nav Singh
links:none on file
slides:none on file

Step-by-step codelab builds a small Compose app in Android Studio Arctic Fox showing setContent and @Composable functions, Material theming and Preview, using modifiers for padding and layout; it extracts UI into reusable composables, toggles an onboarding screen via a hosted boolean state, uses remember (and rememberSaveable) for state so expansion survives recomposition, and renders a performant list with LazyColumn with 1,000 items; the result runs in preview and on device and the onboarding → greetings flow and button-driven expand/collapse behavior work as demonstrated.

AI-written summary · about

  1. 0:00Introduction
  2. 1:47Overview
  3. 3:18Project Structure
  4. 10:40Compose Basics
  5. 14:52Compose Surface
  6. 17:43Modifiers
  7. 21:11Separate Functions
  8. 25:09Build Function
  9. 26:01Column and Row
  10. 30:53State Management
  11. 32:05Builtin Functions
  12. 39:51Final Code
  13. 41:28State Hosting
  14. 43:36Onboarding Screen
  15. 46:29Code
  16. 53:28Lazy List
~/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.