~/talk

Mastering Text Input in Compose

Talkat droidcon New York 2025 · 2025-06-25..06-26· [android]
links:none on file
links:none on file
slides:none on file

Shows concrete Compose APIs and working code: use secure text field for hidden passwords and disabled copy paste, enforce a >8 char requirement and call autofillManager.commit to save to Google Password Manager, enable login autofill via contentType hints, toggle visibility with text obfuscation modes including reveal last typed, accept GIFs images and drag and drop with modifier.contentReceiver and process transferable content URIs, autosize names, and format US phones by chaining inputTransformation (max 10 digits) and outputTransformation with TextFieldBuffer to insert parentheses and dash.

AI-written summary · about

  1. 0:00Text input in Compose
  2. 1:08State-based text fields
  3. 2:36Secure password field
  4. 3:39Password validation
  5. 5:07Autofill credentials
  6. 7:35Autofill login screen
  7. 8:38Toggle password visibility
  8. 10:00Rich content receiver
  9. 13:08Drag and drop receiver
  10. 14:32Auto-sizing phone numbers
  11. 19:17Summary
~/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.