~/talk

Exploration of Touch & Input in Jetpack Compose

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

Demonstrates building a Compose photo grid that supports tap-to-open, double‑tap and pinch zoom, pan, and long‑press‑and‑drag multi‑select using real code at google/composephotogrids. Uses pointerInput with detectTapGestures, chooses detectTransformGestures over transformable to get centroid for pinch zoom, and implements multi‑select by attaching detectDragGesturesAfterLongPress to the grid (not each item) because hit‑testing locks the original target; resolves event consumption by removing the per‑item long‑click. Shows state via rememberSaveable and derivedStateOf and flags TalkBack accessibility limitations.

AI-written summary · about

  1. 0:00Introduction to touch input
  2. 3:14Gesture recognizers toolbox
  3. 8:12Gesture modifiers vs recognizers
  4. 12:02Building photo grid app
  5. 15:30Double tap to zoom
  6. 18:21Pinch and drag to pan
  7. 20:29Accessibility considerations
  8. 22:56Multi-select with gestures
  9. 36:19Resources and conclusion
~/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.