-
Notifications
You must be signed in to change notification settings - Fork 5
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
Switches for HasSupportFragmentInjector and HasFragmentInjector #43
base: develop
Are you sure you want to change the base?
Conversation
--- JIRA LINKS --- |
@@ -22,4 +27,8 @@ class SampleApp : Application(), HasActivityInjector { | |||
|
|||
override fun activityInjector(): AndroidInjector<Activity> = dispatchingAndroidInjector | |||
|
|||
override fun fragmentInjector(): AndroidInjector<android.app.Fragment> = dispatchingFragmentInjector |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
was is das ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need it to have Fragments injected in the app. Android's fragments or support ones. Or both, since technically you can have both, for whatever reason.
Without these dispatching injectors Dagger goes \(ツ)/¯
Forgot about import alias, so I may opt out for a SupportFragment
alias instead of full package path.
9579356
to
9b7cd60
Compare
9b7cd60
to
f77e0d1
Compare
This got updated |
@rainqer do we care to merge it? |
No description provided.