Cyril Find
12/21/2020, 11:10 AMLazyColumn
scroll position aver navigating with compose navigation ?
I thought hoisting a LazyListState
up to my NavHost
would work but it doesn’t apparentlyallan.conda
12/21/2020, 11:13 AMCyril Find
12/21/2020, 11:13 AMCyril Find
12/21/2020, 11:13 AMCyril Find
12/21/2020, 11:14 AMMantas Varnagiris
12/22/2020, 8:03 PMCyril Find
12/23/2020, 1:49 PMTimo Drick
12/23/2020, 2:03 PMCyril Find
12/23/2020, 2:32 PMgiso
12/25/2020, 10:10 AMLazyListState
at the root composable, but whenever the LazyColumn
is recomposed, the scroll state is reset. Maybe this functionality is not implemented yet?ak
02/04/2021, 10:06 PMCyril Find
02/04/2021, 10:42 PMCyril Find
02/04/2021, 10:50 PMak
02/08/2021, 7:33 PMval listState = viewModel.gasStations.collectAsState(emptyList())
removing the emptyList()
like so:
val listState = viewModel.gasStations.collectAsState()
fixed my issue for now.
Gave yours a ⭐ anyways.Cyril Find
02/09/2021, 8:52 AM