Dagger is a dependency injection framework written in Java, to ease the creation of reusable and interchangeable modules.
Unlike other frameworks (Like Spring, Google Guice) which rely on runtime reflection and proxies, Dagger is a fully static, compile-time dependency injection framework. Dagger uses the compile time data to implement dependency injection.
Following dependency is used for this tutorial.
<dependency>
<groupId>com.google.dagger</groupId>
<artifactId>dagger</artifactId>
<version>2.4.4</version>
</dependency>
No comments:
Post a Comment