ste
07/05/2022, 3:21 PMHorizontalPager
scroll (via userScrollEnabled
) when the user started a LazyColumn
scroll (and vice versa)? Do I need to write a complex NestedScrollConnection
?chatterInDaSkull
07/05/2022, 7:38 PMHorizontalPager
?ste
07/05/2022, 7:56 PMchatterInDaSkull
07/05/2022, 7:58 PMste
07/05/2022, 8:12 PMPager
...
Of course, the UX I showed is terrible.chatterInDaSkull
07/05/2022, 10:16 PMval listState = rememberLazyListState()
https://developer.android.com/reference/kotlin/androidx/compose/foundation/lazy/LazyListState#isScrollInProgress()
This should tell you whether someone is scrolling around vertically, you can simple change the value for userScrollEnabled
based on itste
07/06/2022, 7:33 AMHorizontalPager
and Y changes to the LazyColumn
HorizontalPager
detect drags: it uses scrollable
instead of draggable
(my Pager
that doesn't have this problem uses detectHorizontalDragGestures
)Pager
because it's not lazy. I started re-implementing it using a LazyLayout
yesterdaychatterInDaSkull
07/06/2022, 7:49 AMste
07/06/2022, 12:19 PMchatterInDaSkull
07/06/2022, 4:31 PM