Guilherme Delgado
02/10/2022, 7:14 PMonCreate: ((state: STATE) -> Unit)?
) it’s called 2 times.
I’m using jetpack compose:
• ActivityA has ViewModelA and everything is ok.
• ActivityB has a NavHost with 3 composable (“screens”). When they’re first created I get this 2 time problem, but after that, when I change between them, the container is created only once as expected.
For now, this is the best hint I can give you, but I’ll look deeper.
Any clue?
Thanks for your time.Mikolaj Leszczynski
02/11/2022, 8:30 AMMikolaj Leszczynski
02/11/2022, 8:31 AM1.1.0
which came out two days agoGuilherme Delgado
02/11/2022, 12:00 PMMikolaj Leszczynski
02/11/2022, 12:01 PM