Skip to content
/ YaMvp Public

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

License

Notifications You must be signed in to change notification settings

Piasy/YaMvp

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages