Study how to apply the MVP architecture pattern to structure an Android app in Java with clean separation of concerns.
Use as a reference when refactoring an existing Android app to separate display code from business logic.
Learn how to make Android code testable by isolating the Presenter layer from the View.
Minimal README, intended to be read alongside the author's external article for full context.
"androidmvp" is a sample Android application written in Java that demonstrates the MVP pattern. MVP stands for Model-View-Presenter, a way of organizing code in an Android app so that the logic for what happens (the Presenter) is separated from the logic for what is displayed (the View) and the data layer (the Model). Keeping these three concerns in separate layers makes code easier to test independently and easier to change without breaking unrelated parts of the app. The repository was created specifically to accompany a written article by the author explaining how to apply the MVP pattern in Android development. The README links to that article for the full explanation, meaning the code is intended to be read alongside the article rather than as a standalone reference. Without the article, the repository gives no further description of what the sample app actually does or how to run it. The README itself is minimal and does not describe the app's specific screens, what the sample demonstrates interactively, or how to build and install it. The source code is written in Java, which was the dominant language for Android development before Kotlin became the standard. The project is listed on Android Arsenal, a catalog of open-source Android libraries and samples. Example projects like this one are useful for developers who want to see a specific pattern in action rather than reading abstract descriptions. Because this README is sparse, the value lies in the source code paired with the external article, not in documentation within the repository itself.
← antoniolg on gitmyhub — every repo by this author, as a profile.
Verify against the repo before relying on details.