LiteAdapter
The lite adapter is a new RecyclerView coding style, which dose not provide complex function. Its goal is to reduce the work of the adapter, let each view take their own data binding work.
Usage
- Add
mavenCentraldependence in your project root directory level build.gradle file.
buildscript {
repositories {
google()
mavenCentral() // add this line
}
}
allprojects {
repositories {
google()
mavenCentral() // add this line
}
}
task clean(type: Delete) {
delete rootProject.buildDir
}
- Add
LiteAdapterdependence in your module directory level build.gradle file.
dependencies {
...
implementation 'io.github.chengjie-jlu:liteadapter:1.0.0' // add this line
}
- Sync your project.