-
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
Verbose android Injection fails with missing binding #170
Comments
I think the issue is that Workaround for the issue is to manually inject empty map: @Provides
@JvmStatic
fun provideEmptyStringMap()
: Map<@JvmSuppressWildcards String, @JvmSuppressWildcards Provider<AndroidInjector.Factory<*>>> =
emptyMap() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When doing android injection the verbose way (without
ContributesAndroidInjection
),dagger-reflect
fails withMissing binding for java.util.Map<java.lang.String, javax.inject.Provider<dagger.android.AndroidInjector$Factory<?>>>
.Sample code:
Reproduced with:
Running this with normal annotation processing dagger works fine.
The text was updated successfully, but these errors were encountered: