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

Use @inject-annotated constructor for navigator #93

Merged
merged 1 commit into from
Jan 20, 2016

Conversation

vtuan10
Copy link

@vtuan10 vtuan10 commented Dec 23, 2015

Since Navigator can be constructed by the @inject-annotated constructor, there is no need to provide it in a module. @provide-annotations should only be used for interfaces, third-party classes or objects which have to be configured. None of these apply here.

@android10
Copy link
Owner

@vtuan10 Can you squash this into 1 commit so I merge it?

no need to use @provides for navigator since Dagger 2 can construct it by @inject-annotated constructor
@vtuan10
Copy link
Author

vtuan10 commented Jan 20, 2016

@android10 Done.

android10 added a commit that referenced this pull request Jan 20, 2016
Use @inject-annotated constructor for navigator
@android10 android10 merged commit b743a72 into android10:master Jan 20, 2016
@android10
Copy link
Owner

@vtuan10 great! Thanks for the collaboration.

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

Successfully merging this pull request may close these issues.

2 participants