Skip to content
#

interface-injection

Here is 1 public repository matching this topic...

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.

  • Updated Jun 18, 2023
  • Kotlin

Improve this page

Add a description, image, and links to the interface-injection topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the interface-injection topic, visit your repo's landing page and select "manage topics."

Learn more