Scroll position of the lazy column is lost when navigating.
val pageItems = myPager?.collectAsLazyPagingItems()
LazyColumn(state = rememberLazyListState(), modifier = Modifier.padding(bottom = paddingValues.calculateBottomPadding())) {
itemsIndexed(pageItems){ index, pageItem ->
if (pageItem != null) {
Text("abc")
}
}
}
when navigating to other screen and coming back the state is reset to 0.