joney
05/18/2021, 12:11 PMLazyColumns. All columns should receive the same scroll delta, regardless of where the user input came from. Is nestedScroll() the right thing to use?ste
05/18/2021, 12:13 PMLazyColumns nested (I don't think so)? If not, you could try to share a LazyListState (rememberLazyListState)joney
05/18/2021, 12:17 PMLazyListState that did not work. Only one list is scrolling then.
Sharing a ScrollState between multiple scrollable Columns works on the other hand. Unfortunately I have to use LazyColumns as the lists contain many items.ste
05/18/2021, 12:25 PMval state = rememberLazyListState()
val state2 = remember(state.firstVisibleItemScrollOffset) { state }Adam Powell
05/18/2021, 1:54 PMjoney
05/18/2021, 2:19 PMHorizontalPager for navigating between weeks.
PS: We already have two apps 100% driven by compose running in production and we love it :)Adam Powell
05/18/2021, 2:21 PMAdam Powell
05/18/2021, 2:24 PMjoney
05/18/2021, 3:14 PMAdam Powell
05/18/2021, 7:57 PMjoney
05/19/2021, 6:30 AMScrollState is shared, the lists are synced and no lags.