~/talk

Mastering Text Input in Compose

Talkat droidcon London 2025 · 2025-10-30..10-31· [android, accessibility]
links:none on file
slides:none on file

Shows the new state-based TextField API and replaces onValueChange with input transformation and visualTransformation with output transformation, using a max-length digit filter and a buffer to format US numbers as "(XXX) XXX-XXXX" (parenthesis at index 0/4, dash at index 8). Demonstrates secure text field disables cut and copy and enforces a password rule (enable only when length > 8), commits credentials via Autofill using content types newUsername/newPassword and username/password, offers SMSOTP autofill for six-digit codes via a BasicTextField decorator, AutoSize for dynamic text, and contentReceiver for GIF/sticker drag-and-drop.

AI-written summary · about

  1. 0:00Welcome
  2. 1:09State-based text field
  3. 2:11Hiding passwords
  4. 3:39Password requirements
  5. 5:07Autofill credentials
  6. 6:31Logging in with saved credentials
  7. 7:55Toggle password visibility
  8. 9:41Two-factor authentication
  9. 11:26OTP fields with BasicTextField
  10. 14:36Autofill SMS OTP
  11. 15:39Rich content receiver
  12. 18:34Drag and drop receiver
  13. 19:39Autosizing text
  14. 23:57Summary
~/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.