I am currently getting rid of lint warnings and this one bothers me right now. The bindings work correctly and cannot be removed, Android Studio thinks that they are not used:
this is how I set them up
07/22/2021, 12:41 PM
This is correct, Dagger does not use that method in the generated code unlike @Provides. Dagger only infers UserManagerImpl needs to be bound to UserManager and generates code directly.
It should be safe to suppress the warnings.
08/10/2021, 8:17 PM
you tell the IDE to suppress when it is marked with