1. Reply

    I have loved this sequence of tutorials for MVP in Android. Now i really understand it how it works and what is the idea. Thank you and looking forward for another great tutorials like this regarding Android. Cheers!

  2. RAJ


    hi jeff very nice explanation : is that possible if you have two views and one presenter? please explain me.

  3. Reply

    Thank You For This Simple Tutorial. But I have a question! how to construct the packages what is the concept that you depend on to create and separate the packages ??

  4. Reply

    Thanks a lot.. Your example helped me understand the basics.. Simple Java as it should be. After going through your example I got a clear idea how should I implement VIPER in android.

  5. Reply

    First, great tutorial. One simple question, how is model created and reused in this kind of architecture. Also if orientation is on, what would be the best way to retain/recreate the model.

  6. Reply

    Very nice videos on MVP, really good to understand how to use this pattern in Android development. +Jeff Potter, iยดd just make one thing different when communicating between Fragments and Activity, so that your fragments are also not coupled to you Activity. Your Fragment should declare an interface to be implemented by the activity. On onAttach() method you verify that the Activity binded to this fragment implements the mentioned interface. This way, you can still ask your Activity to do things to you from inside your fragment, without have to worry what is the activity that is using your fragment.
    Congratulations on the initiative! all the best!

  7. Reply

    Is it important to keep business logic in interactor classes? Why don't keep it in presenter? What's the role(the mission) of presenter and interactor? Can a presenter hold more than one interactor(if so, provide an example, please)?

  8. Reply

    When doing an async call with the model, if an activity is rotated during async operations, how would the activity connect back to it's original presenter? Wouldn't you have to persist the presenter in some way? Ty.

  9. Reply

    I have seen all the three videos and like that logic and the Activity are separate. However, if I do this for every Activity that I have in my application, wouldn't that seem like over-engineering? If I have a library like RxJava somewhere in between, I will have a nervous breakdown searching for what goes where ๐Ÿ™‚

    Also, how do you arrange the models, views and presenters? Should all the models be in one package and all the view in one package and so on or should every Activity have its own package?

Leave Comment

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