Navigation Compose + Hilt: :syringe: How can I do ...
# compose
t
Navigation Compose + Hilt: 💉 How can I do
@AssistedInject
with Navigation Compose’s
hiltViewModel
method? More Info ➡️ stackoverflow https://stackoverflow.com/questions/70174711/how-to-do-assisted-injection-with-navigation-compose
z
just having 2 ChildWidget in general with a SavedStateHandle would crash your app iirc, ViewModel is intended to be at a top-level ViewModelStoreOwner but not for children in it afaik
i
Hilt ViewModel doesn't support assisted inject in general, see the open issue: https://github.com/google/dagger/issues/2287