In Dagger 2, interface injection refers to the process of injecting dependencies into an interface rather than a concrete class. While interface injection is not the primary approach in Dagger 2 (constructor or field injection is typically used), it can be achieved with the help of the @BINDS annotation.
android
dagger
dagger2
android-kotlin
vaibhav
vaibhavmojidra
vaibhav-mojidra
mojidra
interface-injection
-
Updated
Jun 18, 2023 - Kotlin