electrolobzik
02/29/2024, 3:57 PMChildren
block in the ProfileRoot function and change the navigation (once) from “Profile” to “Replace Selfie” I get a lot of calls and the most weird part is that the children alternate. I tried to find a source of this problem, but with no luck. Do you have any idea why it may happen? (logs in the thread)electrolobzik
02/29/2024, 3:58 PMREMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = Profile
REMEMBER profile child = ReplaceSelfie
REMEMBER profile child = ReplaceSelfie
electrolobzik
02/29/2024, 3:59 PMErrorHandlingBox(
modifier = modifier.fillMaxSize(),
errors = profileRootComponent.oneTimeEvents
) {
Children(
stack = profileRootComponent.childStack,
animation = stackAnimation(fade() + scale()),
) { createdChild ->
log("REMEMBER profile child = ${createdChild.instance::class.simpleName}")
electrolobzik
02/29/2024, 4:00 PMArkadii Ivanov
02/29/2024, 4:04 PMelectrolobzik
02/29/2024, 4:05 PMinit {
stack.subscribe {
log("REMEMBER Component stack = ${it.active.instance::class.simpleName}")
}
}
electrolobzik
02/29/2024, 4:06 PMArkadii Ivanov
02/29/2024, 4:06 PMArkadii Ivanov
02/29/2024, 4:06 PMelectrolobzik
02/29/2024, 4:10 PMLaunchedEffect
. I didn’t realise that the sequence of recomposition calls could be so weird.Arkadii Ivanov
02/29/2024, 4:25 PM