Arkadii Ivanov
10/06/2020, 5:40 PMrememberScrollState
is used inside Crossfade
, it receives different generates keys every time the screen is rotated. This prevents the state from being restored and also causes more and more keys accumulating in the UiSavedStateRegistryAmbient
. Is it expected behaviour or a bug?Arkadii Ivanov
10/06/2020, 5:41 PMrememberLazyListState
Louis Pullen-Freilich [G]
10/06/2020, 5:58 PMAndrey Kulikov
10/06/2020, 6:02 PMAndrey Kulikov
10/06/2020, 6:10 PMArkadii Ivanov
10/06/2020, 6:17 PMArkadii Ivanov
10/06/2020, 6:26 PMkeySupplier
to Crossfade
. In my case objects contain another objects that do not implement equals/hashCode . So making them data classes has no effect.