I have tesktask to create a weather app that show weather in users city be GeoLocation. I use stack of technologies : Dagger,Room, Retrofit,Coroutine ...
I have tesktask to create a weather app that show weather in users city be GeoLocation. I use stack of technologies : Dagger,Room, Retrofit,Coroutine ...
Im struggling with the following issue and I cant find a solution. I have multi module project. I set up all the modules and dependencies but im still ...
I am working on a multi-module android project. In main module we have a CoreComponent with CoreModule. CoreModule provides some objects. I want to in ...
In different tutorials I see how to substitute @Component`s dependencies with mock or fakes. To do so, one can make test variant of @Component extendi ...
On the one hand, DI (in my case it is Dagger2) is a helpful/useful tool, however, on the other hand, I just can't stop thinking that it broke the inca ...
I have a project and recently we converted the project to a multi module. However I could not run the module it gives me this error. I think I made s ...
I have upgraded my project Dagger version from 2.29.1 to 2.44, but after the upgrade I am not able to compile the code. This is the error I am gettin ...
here is my Service class and ApiService is Interface The problem is on the first launch of app. This app is crashing with below message But aft ...
I am trying to inject a class (ExampleClass) in a custom view (CustomView), it extends from a class called BaseWidget which extends from LinearLayout. ...
. Answers to this question are eligible for a +50 reputation bounty. Bounty gr ...
I have two bindings for a single BaseClass. For example I dont want to sepcify @Named("b") in all the places which needs Base as dependency, but bi ...
Component C uses 2 different modules which have 1 similar dependency. Facing this compilation error: 'String is bound multiple times' ...
Is there a way to get dagger to spit out why it didn't generate a particular component? I tried refactoring some of our modules and ended up breaking ...
I am learning dependency injection with Hilt and Dagger and I want to know... When creating classes with the Singleton pattern, should I use a real Si ...
We can use the @Singleton annotation to denote the dependency as a singleton, and then install the dependency to the singleton component to give the s ...
earlier we could add dagger-hilt using this in root build.gradle file: how can we add this in android studio chipmunk and higher ...
I'm seeing some code where a SubComponent.Builder is being injected. For instance: class MyClass @Inject constructor(val mySubcomponentBuilder: MySu ...
I have some class that looks like as below: But I have an issue, I cannot provide dependency for HomeRouter. So can you guys help me solve this proble ...
I like to show a language list when I press the button. I use dependency injection on the bottom sheet fragment. But it only shows the first item on t ...
I am trying to understand Dependencies injection with Dagger and so following a tutorial. I created a simple project and copied everything as it was f ...