forked from CymChad/BaseRecyclerViewAdapterHelper
-
Notifications
You must be signed in to change notification settings - Fork 0
HomePage
Allen edited this page Aug 22, 2016
·
7 revisions
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.
-
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