Another feature from Horologist - but hopefully mo...
# compose-wear
y
Another feature from Horologist - but hopefully more an example for Connecting Bezel/RSB scrolling with something not directly UI related. In this case volume control.
๐Ÿ˜ฏ 3
๐Ÿ‘ 3
K 1
๐Ÿ‘๐Ÿผ 1
๐Ÿ‘๐Ÿฝ 1
Testing via the emulator
The demo is included in the sample app, but the code is reusable if you need to control volume in a Wear app.
This is the event handler than turns scroll delta in pixels into volume changes and also dispatchers haptic events
a
Does this also include the virtual Bezel/RSB on the Galaxy Watch 4?
y
Yes - specifically it's tested for that.
๐Ÿ˜ 1
Are you thinking of controlling light intensity ๐Ÿ™‚ ?
a
That's exactly what I'm thinking ๐Ÿ˜…
y
If you have any bugs, raise them at https://github.com/google/horologist/issues
๐Ÿ‘ 1