-
Notifications
You must be signed in to change notification settings - Fork 44
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
dagger-android crash in DaggerApplication #202
Comments
Presumably because we don't support injecting a |
Issue is that I refactored the code to not use |
While that's true, this still should work in reflection since we don't actually need to resolve that So I'm not exactly sure why this doesn't work already today. But we should be able to make it work. |
This is a problem with generic handling. We don't correctly project |
I had the same problem and found a workaround that is somewhat simpler:
... to the InternalApplicationComponent and then in the XxxInternalApplication applicationInjector() method I added:
... before the return. Hope this helps someone. |
dagger.android.DaggerApplication
applicationInjector()
to return theAndroidInjector
The text was updated successfully, but these errors were encountered: