Kotlin's implementation of Unidirectional Data Flow
Add it in your root build.gradle at the end of repositories:
dependencyResolutionManagement {
repositoriesMode.set(RepositoriesMode.FAIL_ON_PROJECT_REPOS)
repositories {
mavenCentral()
maven { setUrl("https://jitpack.io") }
}
}
Add the dependency:
dependencies {
implementation("com.github.ZharovVV.Elment:elment-core-jvm:1.0.0-RC")
}
if you want to use only core-jvm part.
Or add the dependency:
dependencies {
implementation("com.github.ZharovVV.Elment:elment-android:1.0.0-RC")
}
if you want to use core-jvm + android part (which includes ElmentViewModel).