Issue ViewModel with Dagger Hilt version 2.44 #93
TNEllsworth
started this conversation in
General
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
When I use hilt with version 2.44, getViewModel cannot get instance my ViewModel.
java.lang.IllegalArgumentException: CreationExtras must have a value by SAVED_STATE_REGISTRY_OWNER_KEY
I updated version to 2.42, then all this was OK.
Beta Was this translation helpful? Give feedback.
All reactions