I’ve noticed my LazyColumn loses scroll position when I go to another screen and come back (I believe in a previous version of Compose it worked with the same code). It is because when I come back to the screen the list is empty (and shortly after it gets loaded), so it overwrites the scroll position that was saved in LazyListState.
My workaround is to not call LazyColumn if there are no items… Is there a better way of doing this? And is this the intended behaviour?