YaMvp

General

Category
Free
Tag
Design
License
Apache License, Version 2.0
Min SDK
16 (Android 4.1 Jelly Bean)
Registered
Nov 13, 2016
Favorites
2
Link
https://github.com/Piasy/YaMvp
See also
Cyanea
Material Palette
Fast Access
Yingke
Carbon

Additional

Language
Java
Version
v1.3.1 (Jan 4, 2017)
Created
Sep 19, 2016
Updated
Jan 4, 2017 (Retired)
Owner
Piasy
Contributor
Piasy
1
Activity
Badge
Generate
Download
Source code
APK file

Advertisement

YaMvp

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

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.