Dagger is a dependency injection library for Java and Android.
I use Dagger2 for DI in my android application. I found that I have to write inject method for every …
java android dependency-injection dagger dagger-2lets say I have: public interface Shape {} public class Rectangle implements Shape { } public class Circle implements Shape { } and I have …
java android dependency-injection dagger-2 daggerI'm trying to inject the application's Context into 2 other objects, an AuthManager and an ApiClient. Both of them depends on …
android dependency-injection dagger dagger-2I'm not able to let MyClass here being injected due to its Generic nature. Dagger complains with this error: Error:(187, 10) …
generics dependency-injection daggerDoes someone already had to inject an already existing class, with some business logic, into a BroadcastReceiver using dagger? I'm …
android dependency-injection broadcastreceiver daggerWhile trying to integrate latest Dagger 2 version, I am facing problem of Dagger auto generation. Dagger is not auto generating …
android dependency-injection dagger-2 daggerI have the following simple module: @Module public class ApplicationModule { private CustomApplication customApplication; public ApplicationModule(CustomApplication customApplication) { this.customApplication = customApplication; } @…
android dagger dagger-2I have recently updated dagger 2.8 to 2.9 dagger. and documentation of the last release have been added as follows: -Added @BindsInstance …
dagger-2 daggerI'm trying to use Dagger to do Dependency Injection on an app that I'm building, and running into trouble constructing …
java android dependency-injection dagger