I'm using Dagger2 and I have a class with a constructor's injection and a method injection but only the constructor is been called.
d
dave08
09/28/2017, 7:44 PM
Did you try the thirtyinch mvp library, it could avoid extra work in making your own, and also manages view and presenter lifecycle...
They also recommend to not inject the presenter into the activity since the view should have no logic in it, so it's not an interface. But rather use inject properties in the presenter, which if understand works around your problem...
e
Edwin Ramirez Ventura
09/28/2017, 7:54 PM
If i don't have the presenter in the View, how could I communicate the view with the presenter??