Install LastAdapter via Gradle
masterTo use LastAdapter, you must enable Android Data Binding in your build.gradle file and add the dependency. If you are using Kotlin, you must also apply the kotlin-kapt plugin and include the data-binding compiler via kapt.
// apply plugin: 'kotlin-kapt' // this line only for Kotlin projects
android {
...
dataBinding.enabled true
}
dependencies {
compile 'com.github.nitrico.lastadapter:lastadapter:2.3.0'
// kapt 'com.android.databinding:compiler:GRADLE_PLUGIN_VERSION' // this line only for Kotlin projects
}