Android MVP implementation

I came across several articles about the subject, but I cannot figure out how to apply MVP to my application code. Are there any specific recommendations for a clean implementation of MVP for Android.

Thank you

+6
source share
3 answers

Check out this link:
Movie material
MVPAndroidBootstrap
Clean contacts
Mvpcleanarchitecture
Android-CleanArchitecture
On these links you will find many implementations of MVP for android

UPDATED:

mosby - Model-View-Presenter Library for modern Android applications
ThirtyInch - New MVP Library for Android
Moxy - Android MVP library without lifecycle and pattern problems

UPDATED:

Interesting-Android-repositories - contains many implementations of MVP for Android.

+9
source

Here on github https://github.com/saksham24/Android-Firebase-Mvp-Mvc-Mvvm-chat I made a repo containing 3 applications with the same functionality, but written on three different Android models (Mvc, Mvp, Mvvm)

Understanding three different patterns is quite simple if we get a simple good example, so I made a repo to bring my knowledge to this community of developers. The repository is also written using the appropriate java manuals and conventions (including names and packages, modules), so users who are looking for such a project can also view this repository.

0
source

I recently created a lightweight (no overhead dependency) MVP library in Kotlin. It also supports a LiveData subscription between Presenter and Model.

Please find detailed instructions and sources here: https://github.com/smaslenko/instant-mvp

0
source

Source: https://habr.com/ru/post/989410/


All Articles