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

SharedPreferencesStorage is the class that depends on Context, not Storage #45

Open
petrosvoivontas-cp opened this issue Nov 18, 2020 · 0 comments

Comments

@petrosvoivontas-cp
Copy link

petrosvoivontas-cp commented Nov 18, 2020

Near the end of chapter 7 in the Dagger codelab, there is a sentence that reads:

Storage has a dependency on Context but since we're providing it when we create the graph, Storage has all its dependencies covered".

Storage should be replaced with SharedPreferencesStorage in that sentence

https://developer.android.com/codelabs/android-dagger#6

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