MVP-11: If an app has multiple Presenters, do not let them communicate with each other.


Description

There is no need for Presenters to communicate with each other. Whenever an event happens. The Presenter sends it to the model. From which the other Presenter then can retrieve the new data.

Example

We created a simple MVP login Application.

Login Injection

Presenters do not have to talk with eachother. Whenever an Event happens at for example the addUserView. The Presenter let it sink to the model, and other Presenters will find for example a new user.

Check out the Github page to view the complete repository.