Skip to content

Better separation between MVP presenter and view #18

@davidschreiber

Description

@davidschreiber

In the MVP example the view directly issues commands on the presenter, for example the MainActivity directly calls MainPresenter#loadRepositories whereas it should rather use a passive callback like Presenter#onUsernameSubmitted. The main reason for this is to hand over navigation responsibility to the presenter away from the view (which should be a dumb view).

I've created this issue for discussion, since this is obviously a matter of architecture style and code separation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions