I have a `single activity compose app` where `2 V...
# compose
d
I have a
single activity compose app
where
2 ViewModels
are using
single composable function
but when the composable is not in use how can I destroy the viewModel instance I am using https://github.com/raamcosta/compose-destinations and passing the viewmodel from the destination like this
👍 2
🤖 1