Does anyone help me with this question:
Watching this example for rotary input on wearos, Whats the difference about using the modifier's rotary scroll and focusable functions in scaffold vs scalinglazycolumn ?
https://www.youtube.com/watch?v=2CzWz5Ad4iM▾
k
Kseniia Shumelchyk
11/15/2023, 10:23 PM
Hi Marlon 🙂
This video was a year+ old, we now have a written guidance for rotary support in Compose: https://developer.android.com/training/wearables/compose/rotary-input
so rotary scroll modifier intercept events, but you need to request focus on more atomic targets which is SLC in this case. Scaffold usually is a place where you store stare/focusRequester
m
marlonlom
11/17/2023, 12:49 AM
@Kseniia Shumelchyk I've moved the implementation from scaffold to the SLC. thanks for the recommended lecture in the officoal docs 😄 ; it works the same as when using the scaffold, but, thinking of a different scenario, the rotary input seems to lag in a smartwatch (i've tested on a galaxy watch 4 and a ticwatch pro 3 ultra).