Lilly
08/01/2022, 5:35 AMDisposableEffect(Unit) {
onDispose { Log.e("ScreenA", "Leaving...") } // is logged immediately after call to navigate to screen B but screen A still visible
}
I would at least expect an empty screen B immediately after this log. Any ideas?
EDIT: logs in thread.Zoltan Demant
08/01/2022, 5:48 AMLilly
08/01/2022, 5:48 AMLilly
08/01/2022, 5:49 AMLilly
08/01/2022, 5:55 AMZoltan Demant
08/01/2022, 6:54 AMLilly
08/01/2022, 7:39 AMRouter
class but the logs tell us this isn't the bottleneckZoltan Demant
08/03/2022, 6:42 AMZoltan Demant
08/04/2022, 8:47 AMoverride val current: T? get() = backStack.lastOrNull()
with override val current: T? by derivedStateOf { backStack.lastOrNull() }
?Lilly
08/04/2022, 9:12 AMZoltan Demant
08/04/2022, 9:37 AMLilly
08/04/2022, 9:38 AM