iammert / dagger-android-injection

Sample project explains Dependency Injection in Android using dagger-android framework.
516 stars 129 forks source link

Redundant presenter provides #7

Closed badoualy closed 6 years ago

badoualy commented 7 years ago

You're providing the presenter via https://github.com/iammert/dagger-android-injection/blob/dagger-simplified-with-contributes/app/src/main/java/iammert/com/dagger_android_injection/ui/detail/DetailActivityModule.java#L18

while having the @Inject annotation in the constructor, any reason?

Sottti commented 6 years ago

I came to ask this exactly. What is the '@Inject' for?