how does one pass viewmodels w/ DI to nested scree...
# compose
u
how does one pass viewmodels w/ DI to nested screens ?
h
You could but this is bad practice! Prefer instead to pass in the details needed by the children from the composable that has the VM
👆 1
u
but what if the children use a different viewmodel ? i am using nabgraph if that helps
Koin has integration with androidx.navigation too if you prefer that