Android MVP implementation

前端 未结 3 1360
后悔当初
后悔当初 2021-02-03 14:51

i came across a few articles talking about the subject but i cannot understand how to apply MVP on my app code. is there any specific guidelines for a clean MVP implementation f

相关标签:
3条回答
  • 2021-02-03 15:05

    Checkout this link:
    Material movies
    MVPAndroidBootstrap
    Clean-Contacts
    MvpCleanArchitecture
    Android-CleanArchitecture
    At this links you will find a lot of MVP implementations for android

    UPDATED:

    mosby - A Model-View-Presenter library for modern Android apps
    ThirtyInch - A new MVP library for Android
    Moxy - Android MVP library without problems of lifecycle and boilerplate code

    UPDATED:

    Interesting-Android-repositories - contains a lot MVP implementations for Android.

    0 讨论(0)
  • 2021-02-03 15:23

    Here on github https://github.com/saksham24/Android-Firebase-Mvp-Mvc-Mvvm-chat i made a repo containing 3 applications with same functionality but written in 3 different android patterns(Mvc, Mvp, Mvvm)

    Understanding three different pattern is quite easy if we get a simple good example on them so i made a repo to contribute my knowledge to this developer community. Also the repository is written using proper java guidelines and conventions(including naming and packages, modules) so people looking for such project can also view this repository.

    0 讨论(0)
  • 2021-02-03 15:24

    I've recently created lightweight (with no overhead dependencies) MVP library in Kotlin. It also supports LiveData subscription between Presenter and Model under the hood.

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

    0 讨论(0)
提交回复
热议问题