forked from square/dagger
-
Notifications
You must be signed in to change notification settings - Fork 2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove support for the deprecated, alpha @ViewModelInject. This also …
…adds support for falling back to the default view model factory of the base activity/fragment. RELNOTES=@ViewModelInject no longer supported. Hilt now falls back to the base activity/fragment default ViewModelProviderFactory PiperOrigin-RevId: 363228502
- Loading branch information
1 parent
d4078fd
commit 3778ee2
Showing
8 changed files
with
83 additions
and
118 deletions.
There are no files selected for viewing
29 changes: 0 additions & 29 deletions
29
java/dagger/hilt/android/internal/lifecycle/DefaultActivityViewModelFactory.java
This file was deleted.
Oops, something went wrong.
29 changes: 0 additions & 29 deletions
29
java/dagger/hilt/android/internal/lifecycle/DefaultFragmentViewModelFactory.java
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters