-
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-reflect fails to inject classes with Android-dependent methods #184
Comments
molokoka
changed the title
Dagger-reflect fails to inject classes Android-dependent methods
Dagger-reflect fails to inject classes with Android-dependent methods
Jan 16, 2020
As a result of this issue we are not able to perform injections in some custom views.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Dagger-reflect fails to inject objects with methods that have Android classes in their signature and that are not available in runtime.
For example:
I'm trying to inject this object in Android API 22.
getChannel()
returnsNotificationChannel
object that is available from API 26.Even if I would not use
getChannel()
method, dagger-reflect will fail to injectExampleAndroidDependency
Error:
Example project: https://github.com/molokoka/dagger-reflect-example
The text was updated successfully, but these errors were encountered: