Model View Presenter (MVP) in Android, Part 1

You may also like...

23 Responses

  1. Gopalan R C says:

    Good article. Eagerly waiting to read the next article.

  2. mr_dsw says:

    thank you

  3. vhsoni says:

    Good article. Waiting for the MVP implementation.

  4. Esmores says:

    Great article and love the diagrams. Hoping to adopt this into my projects.

  5. youngchan says:

    it’s very good article.
    can i tanslate your post to korean in my blog?

  6. Ted says:

    Hello TINMEGALI, Thank you for your nice article.
    i have translated part 1 in my blog.
    this is the link:

  7. DanV says:

    Can you please add testing for the MainActivity and the GenericMVPActivity?

    Thank you!

    • says:

      Hey DanV. I’m writing a new article about testing. I’ll talk about all kinds of tests, including Activity tests. It will be published this weekend. best regards

  8. youngchan says:

    Translated to Korean.

    link :
    Thank you.

  9. Mark Schumacher says:

    Hey , what is the point of all the interfaces. The only one I see that is needed is Presenter->View, and the only reason this is necessary is so that we can test without reliance on the android framework. All other interfaces seem kind of seem like overhead. We almost never hot swap between implementations of our presenters / models. The public API for non-android classes are mockable without interfaces.


  10. Chris says:

    Nice article.

    You can also check this out AndroidMvc/Mvp framework

    Also check out the MVP sample here

  11. There are many implementations of MVP, but not all of them designate Activities and Fragments as views. I personally believe, that Activities and Fragments should not contain UI logic at all.
    My thoughts on the subject are described in this post:
    Alternative implementation of MVP, where Activities and Fragments are presenters, is described here:

  12. kivee says:

    Finally something worth reading. Thanks

  1. 17 de March de 2016

    […] Model View Presenter (MVP) in Android (part 1) […]

  2. 8 de April de 2016

    […] Model View Presenter (MVP) in Android, Part 1 […]

  3. 6 de September de 2016

    […] Model View Presenter (MVP) in Android, Part 1 […]

  4. 19 de January de 2017

    […] basics covered, delving into some examples can be a great place to start. Tin Megali’s article “Model View Presenter (MVP) in Android” breaks down a simple MVP architecture step by step. It starts with some basic information […]

  5. 28 de July de 2017

    […] Megali про Model View Presenter (MVP) в Android. Хорошие иллюстрации и примеры кода, […]

Leave a Reply

Your email address will not be published. Required fields are marked *