Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

hilt-lifecycle-viewmodel is deprecated @Dagger 2.34 #1

Open
CMingTseng opened this issue May 21, 2022 · 0 comments
Open

hilt-lifecycle-viewmodel is deprecated @Dagger 2.34 #1

CMingTseng opened this issue May 21, 2022 · 0 comments

Comments

@CMingTseng
Copy link

Dear Sir

how fix

  1. hilt-lifecycle-viewmodel is deprecated

  2. In Dagger 2.31, it's possible to achieve the above without using @HiltViewModel and passing everything manually

THX

https://issuetracker.google.com/issues/188663855#comment2

https://stackoverflow.com/questions/68649447/viewmodel-constructor-should-be-annotated-with-inject-instead-of-assistedinjec

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant