Technology RadarTechnology Radar

Dagger for Android

diandroid
This item was not updated in last three versions of the Radar. Should it have appeared in one of the more recent editions, there is a good chance it remains pertinent. However, if the item dates back further, its relevance may have diminished and our current evaluation could vary. Regrettably, our capacity to consistently revisit items from past Radar editions is limited.
Hold

Dagger is a dependency injection framework for Java and Kotlin. It is designed to simplify application development by centralizing dependency management.

Dagger works by creating instances of classes based on their dependencies. Dependencies can be classes, interfaces or functions. They can also be injected into properties, methods or constructors.

Using a more recent framework such as Hilt or Koin is recommended.