-
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
ContributesAndroidInjector doesn't work for Fragment inside an Activity #174
Comments
@kokeroulis I having similar issue. Did you find a workaround for this? |
@obsantos I am using a forked version of this project with custom workarounds. The "workarounds" that are included there might not work for every case, this is why they are just left there instead of opening a PR here but the project in which i am using them is quite big and complicated, so they might be useful for you... I will upload another branch in a few days which will include fixes for the |
What about a PR only with this commit . |
This commit fixes JakeWharton#174
It would be great to have this |
If you have a nested
ContributesAndroidInjector
then it doesn't work properly. Dagger complains about a missing injector factory. Dagger with code generation works fine, only dagger reflect is crashing.Full Example here kokeroulis@adbd4ab
stacktrace
Part of the code which reproduces this issue
The text was updated successfully, but these errors were encountered: