Hey everyone :wave: . In the latest Horologist rel...
# compose-wear
m
Hey everyone ๐Ÿ‘‹ . In the latest Horologist release (0.2.3) we added support for rotary with haptics ๐ŸŽ‰. We added 3 modifiers :
rotaryWithScroll
,
rotaryWithFling
and
rotaryWithSnap
.
rotaryWithScroll
- a modifier when only scroll is required
rotaryWithFling
- scrolling with flinging. Supports any scrollableState
rotaryWithSnap
- scrolling with snapping. For now supports only ScalingLazyColumn ( Picker and Pager will be supported as well later ) All modifiers support haptics out of the box, which can be switched off if necessary.
๐Ÿ‘ 6
๐Ÿ‘๐Ÿผ 2
๐Ÿš€ 4
๐Ÿ‘๐Ÿผ 2
๐Ÿ‘ 6
โš™๏ธ 1
๐ŸŽ‰ 4
l
Nice stuff
y
These are lovely to use on Galaxy Watch and Pixel Watch. Really feel premium :)
a
Thank you ! I use my rotary input for everything so this is super nice
a
Oooooo, cannot wait to try this
l
Sent some feedback about the result after I tried on my Pixel Watch and compared with other things: https://github.com/google/horologist/issues/789
y
Thanks, I'll let Misha look at it.
0.2.4 is released if you want to try. Feedback on that bug is welcome
l
I think you should try yourself on a Pixel Watch, "stress test" it, and compare with a RecyclerView. I personally made my own RecyclerView based scrolling Column (only one
ComposeView
that contains a
Column
) and I moved on.