Yet Another Framework for Android, deprecated in favor of Google's official Android Architecture Components.
This project is not yet release to jcenter, but it is already on Bintray, during this period use the project pointing to the private repository:
repositories {
maven { url "https://dl.bintray.com/hazer/maven" }
}
Yaf has a meta-dependency which plugs in all available features into your project at once:
dependencies {
compile "io.vithor.frameworks.yaf:all:$yaf_version"
}
If you only need some of the features, you can reference any of Yaf's modules:
dependencies {
// Base dependency
compile "io.vithor.frameworks.yaf:core:$yaf_version"
// Gson helpers
compile "io.vithor.frameworks.yaf:gson:$yaf_version"
// OrmLite Migration Manager
compile "io.vithor.frameworks.yaf:migration:$yaf_version"
// Model View Presenter abstraction
compile "io.vithor.frameworks.yaf:mvp:$yaf_version"
// Kotlin-friendly Permission Requests
compile "io.vithor.frameworks.yaf:permissions:$yaf_version"
// Rest Abstraction based on Retrofit2
compile "io.vithor.frameworks.yaf:rest:$yaf_version"
// SQLite helpers and DSL
compile "io.vithor.frameworks.yaf:sqlite:$yaf_version"
// UI widgets, components, custom listeners and extensions
compile "io.vithor.frameworks.yaf:ui:$yaf_version"
// Form-like Validation DSL
compile "io.vithor.frameworks.yaf:validation:$yaf_version"
}