MVP-9: Strive towards putting as much of the app’s business logic as possible in Presenters.


Description

Good presenters act as documentation of the business logic. Try to remove as much logic from the Views as possible. This results into clearer views and makes testing easier.

Example

We created a simple MVP login Application.

If we take a look at our GreetPresenter. Here we pass message of the view. Our GreetActivity needs to do and know as little as possible.

Check out the Github page to view the complete repository.