/ Miscellaneous

Project Starter To Build Android Applications With RxJava

Project Starter To Build Android Applications With RxJava

Vortex

Vortex Have Two Ways To Use (Mvvm Or Viper) architecture both of them powered by RxJava 2 ... at this library you have full common configuration to build any android application

Dependency

  1. Viper Architecture
  2. ViewModel Architecture

Add Sonatype's snapshots repository:

 repositories {
    mavenCentral()
    maven {
      url 'https://oss.sonatype.org/content/repositories/snapshots/'
    }
  }

Build.gradle

   
    // Setup Vortex With Viper Architecture
    dependencies {
        implementation "io.reactivex.rxjava2:rxjava:2.2.10"
        implementation "com.yazan98.vortex:vortex-core-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-data-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-extras-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-viper-ktx:{final-version}"
    }
    
    // Setup Vortex With MVVM Architecture
    dependencies {
        implementation "io.reactivex.rxjava2:rxjava:2.2.10"
        implementation "com.yazan98.vortex:vortex-core-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-data-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-extras-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-viewmodel-core-ktx:{final-version}"
        implementation "com.yazan98.vortex:vortex-viewmodel-ktx:{final-version}"
    }

Sample usage

GitHub