I am trying to implement MVP pattern in my android project by referring to this link : http://ift.tt/1OPjyl2
I have successfully implemented the view / presenter / interactor classes. I am not clear on
- Where to put the
servicecall code?
Since i cannot get the context inside the presenter or interactor class, I am not able to put the
servicecall there
- Where to implement the
GoogleApiClientclass?
Since
GoogleApiClientalso requires context to run, it also cannot be implemented inside the presenter or interactor without a context
Aucun commentaire:
Enregistrer un commentaire