/mvvm-redux

MVVM Redux is a lightweight lib to help you apply the redux concepts in your project based in MVVM.

Primary LanguageKotlinApache License 2.0Apache-2.0

CircleCI

MVVM Redux

Is an Android Library based in redux to help android developers apply with a simple way the reducer in your respective ViewModel.

Simplicity

MVVM Redux provides all you need to make your ViewModel uncoupled of view. With ViewModel extensions you can insert all you need in your constructor pragmatically.

When you need to change your feature it will be simple.

Read about our implementation in doc and you can use for your context the listener extensions.

The limit is your imagination. :)

Documentation

Installation

Insert in project gradle:

allprojects {
    repositories {
        google()
        mavenCentral()
        // Insert repository reference here
        maven { url 'https://jitpack.io' }
    }
}

Insert in module gradle:

ext {
    mvvm_redux_version = '1.0.3'
}

dependencies {
    // MVVM Redux core features
    implementation "com.github.gabrielbrasileiro.mvvm-redux:core:$mvvm_redux_version"
    
    // MVVM Redux extension features
    implementation "com.github.gabrielbrasileiro.mvvm-redux:ext:$mvvm_redux_version"
    
    // MVVM Redux view model extensions features
    implementation "com.github.gabrielbrasileiro.mvvm-redux:viewmodel:$mvvm_redux_version"
}

Inspired by Roxie and Jay Rambhia Article