Shivam Sethi
03/07/2021, 11:02 PMIan Lake
03/07/2021, 11:48 PMIan Lake
03/07/2021, 11:48 PMShivam Sethi
03/07/2021, 11:54 PMIan Lake
03/08/2021, 12:02 AM@AssistedInject for ViewModels is arguments, specifically via the SavedStateHandle object, which is what that thread I linked to talks about. Here's the Hilt issue for more details: https://github.com/google/dagger/issues/2287Ian Lake
03/08/2021, 12:03 AMSavedStateHandle of your ViewModel automatically, right alongside your other Hilt provided dependenciesShivam Sethi
03/08/2021, 12:07 AMString as navigation argument so that I can retrieve that via SaveStateHandle in viewModel .Ian Lake
03/08/2021, 12:51 AMIan Lake
03/08/2021, 12:52 AMShivam Sethi
03/08/2021, 8:19 AM