curtjrees
08/20/2021, 8:30 AMDisposableEffect
to handle tracking screen views?
Seems it’s a pretty good fit to know when a Composable is shown on screen and then knows when it leaves the screen as well
It’s not really a operation that needs cleaning up though, so maybe doesn’t fit the typical use case of DisposableEffect
Dominaezzz
08/20/2021, 8:35 AMonDispose {}
empty. This is a supported use case of it as well.Stylianos Gakis
08/20/2021, 10:54 AMonDispose {}
is left empty, how is it different than a LaunchedEffect(Unit) {}
?Dominaezzz
08/20/2021, 10:56 AMStylianos Gakis
08/20/2021, 10:57 AMDominaezzz
08/20/2021, 10:58 AMStylianos Gakis
08/20/2021, 10:59 AMDominaezzz
08/20/2021, 11:00 AMStylianos Gakis
08/20/2021, 11:02 AM