loloof64
12/31/2021, 9:20 AM@Composable code, but don't know what. Because when I rotate the device, the value of pageIndex switches between two values instead of keeping the same value. More in 🧵loloof64
12/31/2021, 9:22 AM@Composable . pageIndex is saved with rememberSaveable , and I have to use some logic inside SideEffect.loloof64
12/31/2021, 3:21 PMif clause : if in portrait, will only update MyPortraitComposable otherwise will only update MyLandscapeComposable . But I don't know how to overcome the issue.loloof64
12/31/2021, 5:42 PMloloof64
12/31/2021, 6:28 PM