~/talk

Around a watch: Handling rotary input in Wear OS

Talkat Android Dev Summit 2022 · 2022-10-24..11-14· [android]
slides:none on file

Average Wear OS sessions run under seven seconds, so rotary input must be fast and reliable. The demo shows concrete code: Compose for Wear OS with Scaffold and ScalingLazyList, a position indicator plus explicit focusRequester, and the onRotaryScrollEvent modifier that returns consumed=true to stop propagation. Discrete controls need separate focus requesters per field; volume or zoom use a custom state and smoothing/snapping. Horologist supplies device-specific utilities, audio UI with haptics, and emulator support for testing.

AI-written summary · about

  1. 0:00Start
  2. 0:30Rotary input
  3. 0:59Scrolling
  4. 3:01Discrete values
  5. 3:40Custom actions
~/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.