This is base recyclerview library.
Step 1. Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url 'https://jitpack.io' }
}
}
Step 2. Add the dependency
dependencies {
implementation 'com.github.lalitjadav007:BaseRecyclerView:RELEASE_VERSION'
}
Use this in App :
- just extend recyclerview adapter and view holder
- you will get your click on item back on adapter.
Check Example usage here
https://www.thejadav.in/2021/02/multi-feature-recyclerview-in-android.html