What is MVP?

MVP is a common pattern in Android that is derived from the Model-View-Controller (MVC) pattern. MVP attempts to view related concerns from application logic. There are many reasons for which this is done, such as:

  • To increase the maintainability of a code base
  • To improve application reliability

Let's familiarize ourselves with the actors in the MVP pattern.

Get Kotlin Programming By Example now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.