-
Hi!
I am injecting Context through Dagger 2. On testing I am overriding component with providing context like this
` @Provides
@Singleton
Context provideContext() {
Context contex…
-
I see there is some support for dagger-android https://github.com/fabioCollini/DaggerMock/issues/47
I'm trying to inject objects into my espresso test but I can't figure out if it's possible or how…
-
Currently, it is possible to create component and overwrite module factories to return mock objects using dagger mock rule. Even if `@Component` has declared `@Component(dependencies=..)`.
```
@Rule
…
-
Hi,
I am using your lib is there any way to replace objects which was not created in a module but is directly injected through constructors.
https://stackoverflow.com/questions/39612311/android-t…
-
### New Issue Checklist
- [x] Updated fastlane to the latest version
- [x] I read the [Contribution Guidelines](https://github.com/fastlane/fastlane/blob/master/CONTRIBUTING.md)
- [x] I read [doc…
-
Overall, it looks really great. However, there are some issues we could improve on
1. Better way to `dispose` .
```
if (disposable != null) {
disposable.dispose();
}
```
is repeated a…
-
`AppComponent.java`
```java
@Component(modules = AppModule.class)
public interface AppComponent {
MainComponent.Builder plus();
}
```
`MainComponent.java`
```java
@Subcomponent(modules …
-
I am using the dagger2 android injector helper classes and would like to provide mocks of some objects in the ApplicationModule (not shown). However, the module is abstract as dagger generates the act…
-
Hi there,
First of all, it has been amazing experience ever since I used this code base as an example to practice my clean architecture thought. It totally shifted my understanding of programming a…
-
Can someone clarify this to me : Why do we have the TasksRepository instantiated in [taskRepositoryTest ](https://github.com/googlesamples/android-architecture/blob/todo-mvp-dagger/todoapp/app/src/tes…