I have a horizontal `LazyRow` inside a particular ...
# compose
d
I have a horizontal
LazyRow
inside a particular page on an accompanyist
Pager
and while this lazy row is being horizontally scrolled I want to disable horizontal swipe of `Pager`'s pages. How can this be achieved?
2
r
I’ve tried adding
lazyRow
to HorizontalPagerTabsSample, swipe happens only after reaching to start/end of
lazyRow
. If you want to disable
Pager
swipe completely, u can toggle
dragEnabled
of
Pager
as per your use case
b
That seems to be correct behavior but you can use
dragEnabled
param of
HorizontalPager
based on some state.
d
Thank you!