lundi 13 juin 2016

differences of MVP and event driven pattern in android architecture

I assume you are familiar with MVP and event driven pattern.
Both of MVP and Event driven patterns, to my knowledge, are designed to separate responsibly and increase readability. But using libraries like Event bus makes achieving event driven easier.

My question is that given you can separate your methods responsibilities using event and subscriber pattern, what is the benefit of changing your application architecture to MVP?

And second part of my question is the feasibility of using an event library(like Eventbus) along with MVP pattern.

Aucun commentaire:

Enregistrer un commentaire