All Projects → Piasy → Yamvp

Piasy / Yamvp

Licence: mit
Yet another Mvp library. Super simple, but with enough functionality.

Programming Languages

java
68154 projects - #9 most used programming language

YaMvp

Build Status codecov Download

Yet another MVP library. Super simple, but with enough functionality.

Demo

demo

Modules

allprojects {
    repositories {
        maven {
            url  "http://dl.bintray.com/piasy/maven"
        }
    }
}

YaMvp

The core MVP part, only 3 classes, less than 100 lines code.

  • Presenter is not an interface
  • YaViewDelegate: Composition over inheritance
compile 'com.github.piasy:YaMvp:1.3.1'

YaMvp-Rx

RxJava Subscription management.

compile 'com.github.piasy:YaMvp-Rx:1.3.1'
  • YaRxDelegate: Composition over inheritance

YaMvp-Component

If you want inheritance, here you are.

compile 'com.github.piasy:YaMvp-Component:1.3.1'

YaMvp-Dagger2

And if you want Dagger2 integrated too, here you are.

compile 'com.github.piasy:YaMvp-Dagger2:1.3.1'

Test code showcase

Please see each module's test code, it's cool.

  • JUnit test
  • Android JUnit test
  • Espresso test recording

Disclaim

Activity/Fragment kill and restore are not considered yet.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].