HomePage - AllenCoder/BaseRecyclerViewAdapterHelper GitHub Wiki

Getting started
Add it in your root build.gradle at the end of repositories:
allprojects {
repositories {
...
maven { url "https://jitpack.io" }
}
}
Add the dependency
dependencies {
compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper:VERSION_CODE'
}
eg: VERSION_CODE =v1.9.8
dependencies {
compile 'com.github.CymChad:BaseRecyclerViewAdapterHelper: v1.9.8'
}
replace VERSION_CODE with real version name such as v1.9.8 released in Here
notice: Both have to write, or else can not be loaded successfully.
What can it do ?
-
Optimization adapter to reduce code
compare with original adapter ,we reduce 70% of the code 。 -
Add item click and item chlid click
- OnItemClickListener
- OnItemChildClickListener
- OnItemLongClickListener
- OnItemChildLongClickListener
-
Line of code to easily to switch 5 kind of default animation -
Easy to add headView and footView like ListView -
Pull up to load more and you can default different layout ,exception tips -
Simple to add custom group view and child view -
Support the different custom type of View -
Support to setEmptyView Easier tha ListView -
Simple to open dray and swipe -
More powerful than ExpandableListView,Support level