https://kotlinlang.org logo
#compose-wear
Title
# compose-wear
n

Noop

10/16/2021, 6:31 AM
How to use Rotary input for Column?
2
s

saryong

10/18/2021, 7:13 AM
Currently, Column / LazyColumn doesn’t handle rotary event, but I personally believe it will be supported soon.
You need to implement rotary input by yourself. Refer to this: https://developer.android.com/training/wearables/user-input/rotary-input
I’m gonna add a rotary implementation to PeopleInSpace project later today. If @John O'Reilly is ok. 😉
🎉 1
n

Noop

10/18/2021, 7:18 AM
@saryong Ok , Thank you.
j

John O'Reilly

10/18/2021, 7:21 AM
@saryong absolutely, love getting contributions like this!
cc @yschimke
j

John Nichol

10/18/2021, 11:07 AM
Yes we plan to support Bezels and RSBs - there is some work in core compose in input handling that we are waiting to land which should make it clean and easy to add support. Failing that we have a plan B involving linking into the underlying view events (probably similar to what @saryong is thinking of adding to PeopleInSpace
👍 5
👍🏼 1
s
y

yschimke

10/19/2021, 8:47 AM
That's really nice.
54 Views