~/talk

TextField in Jetpack Compose:past, present and future

Talkat Droidcon London 2023 · 2023-10-26..10-27· [android]
links:none on file
links:none on file
slides:none on file

New Jetpack Compose text APIs replace the old value/callback shape with a state object and provide concrete tools: basic text field 2 with rememberTextFieldState, textAsFlow and forEachTextValue for debounceable async validation, a TextFieldBuffer edit session API for append/replace/select, built‑in input filters and chained input transformation and an implicit output transformation (not merged yet). Features available in Compose 1.6 alpha: secure text field with obfuscation modes, scroll and undo state, and a separate text2 package—try now but treat as experimental.

AI-written summary · about

  1. 0:00Introduction
  2. 0:49Past APIs recap
  3. 10:44New shiny APIs
  4. 21:38Programmatic edits
  5. 24:06Visual transformation
  6. 34:38Password field
  7. 37:26Scroll and undo state
  8. 39:31Future plans and feedback
~/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.