Dagger and mvp - should presenter use dagger for injection
问题 I'm starting to think in mvp, dagger should not be used in the presenter. The usual way to construct dagger is using a global component and have subcomponents for scoping the graph. This global component will take an applicationContext as a parameter on creating the appmodule.java class usually. Having the application context given makes life easier. That's all fine but if I use a module from the global component or even a subcomponent, the context should be passed in. So that means if I