Skip to content
This repository has been archived by the owner on Nov 12, 2024. It is now read-only.

Update to Dagger/Hilt 2.31.2 #753

Merged
merged 5 commits into from
Feb 3, 2021
Merged

Update to Dagger/Hilt 2.31.2 #753

merged 5 commits into from
Feb 3, 2021

Conversation

chrisbanes
Copy link
Owner

  • Artifact androidx.hilt:hilt-lifecycle-viewmodel is no longer needed as Hilt v2.31 already contains code to generate ViewModels using the @HiltViewModel annotation.

  • Artifact com.squareup.inject:assisted-inject-annotations-dagger2 is no longer needed as Hilt v2.31 adds assisted injection functionality.

@chrisbanes chrisbanes changed the base branch from cb/alpha11 to main January 30, 2021 11:31
ui-account/build.gradle Outdated Show resolved Hide resolved
ui-discover/build.gradle Outdated Show resolved Hide resolved
ui-episodedetails/build.gradle Outdated Show resolved Hide resolved
ui-followed/build.gradle Outdated Show resolved Hide resolved
ui-recommended/build.gradle Outdated Show resolved Hide resolved
ui-search/build.gradle Outdated Show resolved Hide resolved
ui-showdetails/build.gradle Outdated Show resolved Hide resolved
ui-trending/build.gradle Outdated Show resolved Hide resolved
ui-watched/build.gradle Outdated Show resolved Hide resolved
The move to @HiltViewModel meant that we could no longer use an
@ActivtyScoped dependency from a VM. Took the opportunity to use
the new ActivityResult APIs
@chrisbanes chrisbanes merged commit f358d03 into main Feb 3, 2021
@chrisbanes chrisbanes deleted the cb/hilt-2.31.2 branch February 3, 2021 11:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants