What are the advantages of using DispatchingAndroidInjector<> and the other dagger.android classes?
问题 I'm working on setting up Dagger 2 into my android project. It is my first time with this framework and everything goes well so far. But I'm seeing different approaches on the way you can set up this framework in your project and I wonder which one is better, because I compare both and for me the result is kind of the same. I followed this guide: https://github.com/codepath/android_guides/wiki/Dependency-Injection-with-Dagger-2 Searching on Internet all of them use this approach. It use