Marko Novakovic
11/21/2022, 10:39 AMrememberSaveable(viewModel) { viewModel.onCreate(); 1 }
with this I want to call onCreate()
only once and that when @Composable
is first created.
but why is onCreate()
called more than once?
what am missing here?
this can be related to other things in the app like DI setup for this etc. but I want to check is there something am missing about rememberSaveable
Colton Idle
11/21/2022, 1:32 PMMarko Novakovic
11/21/2022, 1:32 PMColton Idle
11/21/2022, 1:58 PMMarko Novakovic
11/21/2022, 1:58 PMColton Idle
11/21/2022, 1:59 PM