Fixed
Status Update
Comments
ku...@google.com <ku...@google.com>
ap...@google.com <ap...@google.com> #2
A couple of questions:
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
1. Have you saw crash in real device or only in simulators?
2. Do you use dynamic feature for language ID?
Description
Now that Creation Extras is available
hiltViewModel()
should not special case nav back stack owner to get the default arguments while ignoring passed vm owner, instead the args should be retrieved from the creation extras.See:https://cs.android.com/androidx/platform/frameworks/support/+/androidx-main:hilt/hilt-navigation-compose/src/main/java/androidx/hilt/navigation/compose/HiltViewModel.kt;l=55?q=hiltviewmodel