Is there any recommended practices using a vertica...
# compose-wear
j
Is there any recommended practices using a vertically scrolling content (
LazyColumn
or
Column
w/
Modifier._verticalScroll_(…)
) inside of a
VerticalPager
? Personally I think this is a odd UX but my designer has settled on this UI for the time being. I would like to implement sync’d rotary (digital crown) scrolling such that once the internal scrolling list has reached its vertical extent it will automatically cause the vertical pager to scroll to the next page. As of right now, this behavior works out-the-box w/ finger drags, but doesn’t with the digital crown; in-fact I’m not able to get the crown to scroll the VerticalPager without vertically scrollable content (ex:
Box(Modifier.fillMaxSize().backgroundColor(color = Color.DarkGray))
). If this is not possible, please let me know and I’ll discuss with my designer.
y
I think the feature request on Horologist is way forward
It probably should work even if not recommended
j
I don’t understand what you mean by “way forward”?
y
I mistakenly thought it was related to this feature request. https://github.com/google/horologist/issues/1862
I know some of the Google UX designers are discussing how this would work. A modified Page Indicator would be needed.
So I think it's a valid request, worth raising in Horologist project for discussion, but I doubt it will simply work currently, without essentially building custom components. But that's a guess.
🙏 1
j
Thanks for looking into this!