Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

最新 #1

Merged
merged 322 commits into from
May 14, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
322 commits
Select commit Hold shift + click to select a range
44ee8f3
Merge pull request #866 from tysheng/master
CymChad Mar 17, 2017
6aaf846
修复当添加多个子view点击事件时,长按item会触发所有子view的点击反馈效果
rednels Mar 17, 2017
45cc725
backup
Mar 18, 2017
fc04598
backup
AllenCoder Mar 18, 2017
744f62a
1. add new clickListener
Mar 18, 2017
4ad9e62
1. add new clickListener
AllenCoder Mar 18, 2017
db4439a
1. add new clickListener
Mar 18, 2017
6700c60
1. add new clickListener
AllenCoder Mar 18, 2017
9f3328c
Merge remote-tracking branch 'origin/master'
Mar 18, 2017
ae1e468
Merge remote-tracking branch 'origin/master'
AllenCoder Mar 18, 2017
da0c13f
Merge pull request #876 from rednels/patch-1
CymChad Mar 18, 2017
93513b0
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
Mar 18, 2017
b79ac48
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Mar 18, 2017
f2c5d5e
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
Mar 19, 2017
9dd0c8f
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Mar 19, 2017
742daf2
Merge pull request #879 from AllenCoder/master
CymChad Mar 20, 2017
0092a3c
fix #862
ChadCym Mar 20, 2017
9f68452
Example add expandAll() method
ChadCym Mar 20, 2017
21d3bf0
Merge pull request #889 from AllenCoder/master
CymChad Mar 21, 2017
42a6241
fix item long click bug
AllenCoder Mar 22, 2017
ee47e1f
Merge pull request #897 from AllenCoder/master
CymChad Mar 22, 2017
ffff611
Update README.md
CymChad Mar 24, 2017
22a9b4e
Update README.md
CymChad Mar 24, 2017
f37bd06
Update README.md
CymChad Mar 24, 2017
b82eb19
fix remove() crash when have header view
Mar 24, 2017
651355f
fix remove() crash when have header view
Mar 24, 2017
9dd7033
fix remove() crash when have header view
ChadCym Mar 25, 2017
ad7a425
fix https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/919
AllenCoder Mar 27, 2017
a2ffde5
Merge pull request #924 from AllenCoder/master
CymChad Mar 27, 2017
18721b8
fixbug #933
ChadCym Mar 29, 2017
9ef9ccb
fixbug #954
ChadCym Apr 5, 2017
db7bfdc
fixbug #954
ChadCym Apr 5, 2017
de33a4d
fix some error
AllenCoder Apr 6, 2017
cf3440f
Merge remote-tracking branch 'remotes/upstream/master'
AllenCoder Apr 6, 2017
3e510d3
fix remove() crash when have header view
ChadCym Mar 25, 2017
d08af81
fix https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/919
AllenCoder Mar 27, 2017
3753e7b
fixbug #933
ChadCym Mar 29, 2017
62264e1
fixbug #954
ChadCym Apr 5, 2017
777a889
fixbug #954
ChadCym Apr 5, 2017
c15b967
new MultiTypeDelegate
Apr 6, 2017
2129d35
new MultiTypeDelegate
Apr 6, 2017
5bf5f78
new MultiTypeDelegate
Apr 6, 2017
ebaa833
ignore
Apr 6, 2017
36be2cc
ignore
Apr 6, 2017
3507060
Merge pull request #967 from AllenCoder/master
CymChad Apr 6, 2017
ee7ac0b
update
Apr 6, 2017
a067a82
Merge branch 'master' into master
CymChad Apr 6, 2017
04d170b
Merge pull request #970 from tysheng/master
CymChad Apr 6, 2017
5c6cc08
fixbug #972
ChadCym Apr 6, 2017
6728f00
fixbug #972
ChadCym Apr 6, 2017
cda4998
修复4.4Toolbar被状态栏覆盖一部分的问题
FrankKwok Apr 7, 2017
bea9afb
Merge pull request #976 from FrankKwok/master
CymChad Apr 7, 2017
0f0db7a
fixbug #977
ChadCym Apr 7, 2017
63d9acc
Add expandAll() method
elfman Apr 8, 2017
48c7ce6
Add grid layout example in ExpandableUseActivity
elfman Apr 8, 2017
ea9ac61
Change BaseQuickAdapter click listeners to generic type and fix some …
FrankKwok Apr 8, 2017
bdeef78
Merge pull request #979 from elfman/master
CymChad Apr 10, 2017
13cc19d
delete /.idea
Apr 10, 2017
0cb2da5
fixbug #983
Apr 10, 2017
baf433d
Merge pull request #985 from 1109993488/master
CymChad Apr 10, 2017
4c31927
fixbug #988
Apr 10, 2017
235316d
Merge pull request #990 from 1109993488/master
CymChad Apr 11, 2017
6b3da41
fixbug #991
Apr 11, 2017
d1d4614
Merge pull request #993 from 1109993488/master
CymChad Apr 11, 2017
8be60a7
Merge pull request #980 from FrankKwok/master
CymChad Apr 12, 2017
973124d
Fix broken Markdown headings
bryant1410 Apr 16, 2017
b9e4ed4
Merge pull request #1013 from bryant1410/master
CymChad Apr 17, 2017
896fa6a
初始化动画首次加载状态,与状态切换按钮对应
Apr 18, 2017
c7744d5
Merge pull request #1024 from jzhu1224/master
CymChad Apr 18, 2017
f2379ce
Fix #1033: NullPointerException
elfman Apr 19, 2017
cfa8c55
Merge pull request #1034 from elfman/master
CymChad Apr 19, 2017
ba3147d
fix #1027
1109993488 Apr 19, 2017
fea727f
fix #980
1109993488 Apr 19, 2017
ccb6919
Merge pull request #1035 from 1109993488/master
CymChad Apr 19, 2017
796a7ab
Update BaseQuickAdapter.java
JakeWoki Apr 21, 2017
c2421bf
Merge pull request #1041 from JakeWoki/patch-1
CymChad Apr 23, 2017
514d8e1
import annotation.ResLayout lib
lamster2018 Apr 24, 2017
57accf3
Merge pull request #1057 from lamster2018/master
CymChad Apr 24, 2017
cfee94c
footer/header as flow
Apr 25, 2017
babb09e
Merge pull request #1060 from tysheng/master
CymChad Apr 26, 2017
9930dff
remove redundant convertView and add annotations
FrankKwok Apr 28, 2017
b33fac7
Merge pull request #1076 from FrankKwok/master
CymChad Apr 28, 2017
749371b
fixbug #1078
ChadCym Apr 28, 2017
8a06b7f
Update README.md
CymChad Apr 29, 2017
0e4db78
Update README.md
CymChad May 4, 2017
bf22a86
make newData more compatible
FrankKwok May 8, 2017
35458bb
#1101
1109993488 May 9, 2017
e0bd847
Merge pull request #1107 from 1109993488/master
CymChad May 11, 2017
efa6b2d
Merge pull request #1100 from FrankKwok/master
CymChad May 16, 2017
0e6f325
fixbug #1116 #1128 #1112
ChadCym May 16, 2017
a19b518
fixbug #1135 #1151
ChadCym May 24, 2017
6268d38
small function up fetch almost like load more.
May 25, 2017
13bb600
rm #1135
ChadCym May 25, 2017
06991bc
Merge pull request #1160 from tysheng/master
CymChad May 26, 2017
15b75aa
fix #1152
May 26, 2017
a7e6921
Merge pull request #1163 from tysheng/master
CymChad May 31, 2017
aaf5bc8
添加 disableLoadMoreIfNotFullPage 的中文注释
Jun 6, 2017
c50c1be
Merge pull request #1186 from tysheng/master
CymChad Jun 6, 2017
b472402
Create README.md
CymChad Jun 8, 2017
9735e7d
Update README.md
CymChad Jun 8, 2017
c322bb3
Create README.md
CymChad Jun 9, 2017
e604360
Create README.md
CymChad Jun 12, 2017
fd4b260
add new setOnItemChildClickListener
AllenCoder Jun 12, 2017
68f6cff
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Jun 12, 2017
5809e60
add new setOnItemChildClickListener(listener,R.id.xxx,R.id.xxy)
AllenCoder Jun 12, 2017
17eb9b6
update BaseQuickAdapter.createGenericKInstance to fix #1200
FrankKwok Jun 13, 2017
86666bf
Merge pull request #1208 from FrankKwok/master
CymChad Jun 13, 2017
2a78b9c
init kotlin app
AllenCoder Jun 13, 2017
c1614df
init kotlin app
AllenCoder Jun 13, 2017
742a1f7
add kotlin app
AllenCoder Jun 14, 2017
098bdab
#1206 #1215
1109993488 Jun 15, 2017
896806d
Merge pull request #1219 from 1109993488/master
CymChad Jun 18, 2017
6583a6e
done kotlin app
AllenCoder Jun 20, 2017
2c6d44a
1. fix https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issue…
AllenCoder Jun 20, 2017
e08b296
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Jun 20, 2017
dd0fbaa
add new method replaceData
FrankKwok Jun 22, 2017
b773955
Merge pull request #1239 from FrankKwok/master
CymChad Jun 22, 2017
53f1c5e
1. new Link https://github.com/AllenCoder/BRVAH_kotlin
AllenCoder Jun 23, 2017
fc4c282
Merge pull request #1204 from AllenCoder/master
CymChad Jun 23, 2017
9d5b94b
Update README.md
CymChad Jun 23, 2017
b37845b
Create .travis.yml
CymChad Jun 28, 2017
7544782
Create circle.yml
CymChad Jun 28, 2017
67cd7dd
Update README.md
CymChad Jun 28, 2017
8796603
Update README.md
CymChad Jun 28, 2017
8ef02b2
Update README.md
CymChad Jun 28, 2017
9fac2a4
Update README.md
CymChad Jun 28, 2017
8d1d531
Update README.md
CymChad Jun 28, 2017
a17ccea
Update README.md
CymChad Jun 28, 2017
d423285
Update README.md
CymChad Jun 28, 2017
a600890
Update .travis.yml
CymChad Jun 28, 2017
71c6b2e
Update README.md
CymChad Jun 28, 2017
2343361
Update README.md
CymChad Jun 28, 2017
d000668
Update build.gradle
CymChad Jun 29, 2017
8438557
Update build.gradle
CymChad Jun 29, 2017
9e3f56b
Update .travis.yml
CymChad Jun 29, 2017
2cbc316
Update .travis.yml
CymChad Jun 29, 2017
cb0fa2f
Update README.md
CymChad Jun 29, 2017
f63cc53
Update .travis.yml
CymChad Jun 29, 2017
bb4bcce
Update .travis.yml
CymChad Jun 29, 2017
57ddd6b
Update .travis.yml
CymChad Jun 29, 2017
8577fd2
Update .travis.yml
CymChad Jun 29, 2017
bd3dbc0
Update .travis.yml
CymChad Jun 29, 2017
c1a9e16
Update README.md
CymChad Jun 29, 2017
0b73d6c
Update build.gradle
CymChad Jun 29, 2017
0a81649
Update README.md
CymChad Jul 3, 2017
005ced4
1. new add proguard file
AllenCoder Jul 4, 2017
8c4f62d
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Jul 4, 2017
56b0893
Merge pull request #1277 from AllenCoder/master
CymChad Jul 4, 2017
f23da73
fix #1286
FrankKwok Jul 6, 2017
0cc66b1
Merge pull request #1288 from FrankKwok/master
CymChad Jul 6, 2017
b83a190
fix #1299
FrankKwok Jul 11, 2017
583b37b
Merge pull request #1300 from FrankKwok/master
CymChad Jul 11, 2017
f11ef40
fix #1318
FrankKwok Jul 18, 2017
0edceb6
Merge pull request #1320 from FrankKwok/master
CymChad Jul 19, 2017
4942c5a
Add new project website
elfman Jun 3, 2017
7eae588
Merge pull request #1364 from elfman/master
CymChad Jul 29, 2017
a777af8
Revert "Add new project website"
CymChad Jul 29, 2017
ebbeeaf
Merge pull request #1365 from CymChad/revert-1364-master
CymChad Jul 29, 2017
9730ddd
fix #1379
FrankKwok Aug 2, 2017
51faff2
Change package-private field to private
FrankKwok Aug 2, 2017
00095c3
Merge pull request #1381 from FrankKwok/master
CymChad Aug 2, 2017
aa4a3d0
Update BaseViewHolder.java
ChinaVolvocars Aug 2, 2017
4d86eb0
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Aug 3, 2017
273f43b
fix #1402
FrankKwok Aug 7, 2017
dd6229b
fix #1404
FrankKwok Aug 7, 2017
d976640
Merge pull request #1405 from FrankKwok/master
CymChad Aug 8, 2017
1282582
Merge pull request #1385 from ChinaVolvocars/master
CymChad Aug 8, 2017
4548016
fixbug Click no response quickly
ChadCym Aug 24, 2017
0c45974
fix a bug
GeekTR Sep 10, 2017
e8a2ab3
上次提交的代码有点问题
GeekTR Sep 12, 2017
9652d9c
1. set BuildCache Enable
AllenCoder Sep 16, 2017
c4c5382
Merge remote-tracking branch 'origin/master'
AllenCoder Sep 16, 2017
679131f
1. upgradle build version
AllenCoder Sep 16, 2017
68cc05f
1. fix https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issue…
AllenCoder Sep 16, 2017
2385c22
Merge pull request #1557 from AllenCoder/master
CymChad Sep 17, 2017
3e6a326
fix ParentPosition为-1时数组下表越界问题
GeekTR Sep 17, 2017
9376211
fixbug #1564
ChadCym Sep 19, 2017
08935fe
修复无子布局时父布局无法展开的bug
GeekTR Sep 23, 2017
3bd7d1c
Merge branch 'master' of https://github.com/GeekTR/BaseRecyclerViewAd…
GeekTR Sep 23, 2017
24f7295
修改示例代码
GeekTR Sep 23, 2017
121cc47
Update README.md
CymChad Sep 24, 2017
7dea83c
支持baseviewholder带泛型参数
CzwAthou Sep 25, 2017
49e85b3
Merge pull request #1588 from CzwAthou/master
CymChad Sep 28, 2017
822c3b3
修复树形三级及以上展开菜单时局部刷新的刷新item数量错误,导致Item产生复用错乱的情况
inRush Oct 10, 2017
9671f24
PullToRefresh demo
1109993488 Oct 13, 2017
7cfa2fb
Merge pull request #1636 from 1109993488/master
CymChad Oct 16, 2017
f7bc528
Merge pull request #1537 from GeekTR/master
CymChad Oct 18, 2017
d296d1f
Merge pull request #1624 from inRush/master
CymChad Oct 18, 2017
be3c51c
修复偶尔删除item后重展开复现的bug
GeekTR Oct 23, 2017
03665c1
Merge pull request #1665 from GeekTR/master
CymChad Oct 24, 2017
37bbc6e
修复快速点击崩溃的bug
GeekTR Oct 24, 2017
dde7464
Merge pull request #1668 from GeekTR/master
CymChad Oct 24, 2017
984f69c
1. upgrade android studio plugin 3.0.0
AllenCoder Oct 27, 2017
c78d31f
1. upgrade android studio plugin 3.0.0
AllenCoder Oct 27, 2017
7a68360
1. upgrade android studio plugin 3.0.0
AllenCoder Oct 27, 2017
3499aea
Merge pull request #1677 from AllenCoder/master
CymChad Oct 27, 2017
3e71f13
1. upgrade gradle version to 4.1
AllenCoder Nov 2, 2017
4f64d78
Merge pull request #1690 from AllenCoder/master
AllenCoder Nov 2, 2017
6a9a94f
1. upgrade travis and circle
AllenCoder Nov 2, 2017
63f296a
Merge pull request #1693 from AllenCoder/master
AllenCoder Nov 2, 2017
64f8a9b
1. upgrade circleci version to 2.0
AllenCoder Nov 3, 2017
ee6500e
Merge pull request #1697 from AllenCoder/master
AllenCoder Nov 3, 2017
d36408f
1.Decoupling click events
AllenCoder Nov 7, 2017
45a4a6c
Merge pull request #1713 from AllenCoder/master
CymChad Nov 8, 2017
d4acb0b
Update README.md
CymChad Nov 24, 2017
ebd700d
优化数据是否满一屏判断
guominfang Dec 5, 2017
c413222
Merge branch 'issue'
guominfang Dec 5, 2017
112d7fc
Update BaseMultiItemQuickAdapter.java
zzzlw Dec 13, 2017
59673e4
Merge pull request #1 from zzzlw/zzzlw-fix-genericity
zzzlw Dec 13, 2017
a7d0d06
Merge pull request #1822 from zzzlw/master
CymChad Dec 13, 2017
a71cb5e
Fix #1883
elfman Jan 25, 2018
765731a
1.Decoupling click events
AllenCoder Feb 1, 2018
3ce3f7c
Merge pull request #1988 from AllenCoder/master
AllenCoder Feb 1, 2018
902485d
1.upgrade lib Version
AllenCoder Feb 7, 2018
fba8750
Merge pull request #2001 from AllenCoder/master
AllenCoder Feb 7, 2018
09658e1
1.Receive advice https://github.com/CymChad/BaseRecyclerViewAdapterHe…
AllenCoder Feb 9, 2018
9fbbedc
Merge pull request #2014 from AllenCoder/master
AllenCoder Feb 9, 2018
fbbd675
Accept suggestions https://github.com/CymChad/BaseRecyclerViewAdapter…
AllenCoder Mar 19, 2018
2965c40
Merge pull request #2069 from AllenCoder/master
AllenCoder Mar 20, 2018
9b80684
1.Receive advice https://github.com/CymChad/BaseRecyclerViewAdapterHe…
AllenCoder Mar 20, 2018
c8e1c68
Merge pull request #2074 from AllenCoder/master
AllenCoder Mar 21, 2018
dcd248d
提交MultipleItemRvAdapter相关代码以及demo中添加其使用示例
chaychan Mar 30, 2018
ce4aa36
提交MultipleItemRvAdapter相关代码以及demo中添加其使用示例
chaychan Mar 30, 2018
48790cd
提交MultipleItemRvAdapter相关代码以及demo中添加其使用示例
chaychan Mar 30, 2018
386ec1e
Merge pull request #2102 from chaychan/master
AllenCoder Apr 2, 2018
b090c1e
1 .merge upstream
AllenCoder Apr 4, 2018
bb9d26a
Merge pull request #2114 from AllenCoder/master
AllenCoder Apr 4, 2018
68136f7
update README
chaychan Apr 4, 2018
5c4faaf
MultipleItemRvAdapter支持自定义ViewHolder
chaychan Apr 9, 2018
18111e9
去除README中MultipleItemRvAdapter的介绍,避免pull request不通过
chaychan Apr 9, 2018
d7e51f3
更新ReadMe
chaychan Apr 9, 2018
9237ca9
Merge pull request #2115 from chaychan/master
AllenCoder Apr 9, 2018
9aa3d2b
1 .merge upstream
AllenCoder Apr 9, 2018
7fa4b85
Merge pull request #2126 from AllenCoder/master
AllenCoder Apr 9, 2018
8853f3e
1.refactor multipleItemRvAdapter
AllenCoder Apr 11, 2018
9b086ba
1.Deprecated interface ItemProvideTag
AllenCoder Apr 11, 2018
c40b8c9
BaseItemProvider新增支持注解或重写方法返回viewType和layout的id;修复itemProvider覆盖onIte…
chaychan Apr 11, 2018
66ca0bd
1.Deprecated interface ItemProvideTag;
chaychan Apr 12, 2018
e1c2217
Merge pull request #2140 from chaychan/master
AllenCoder Apr 12, 2018
10ce6ea
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Apr 12, 2018
77f0dab
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Apr 12, 2018
b209c89
Merge pull request #2139 from AllenCoder/master
AllenCoder Apr 12, 2018
75a784c
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder Apr 19, 2018
fd5fc81
Update README
AllenCoder May 8, 2018
a07fa14
Merge pull request #1797 from guominfang/master
AllenCoder May 8, 2018
3ca3f39
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder May 9, 2018
091790a
Merge branch 'master' of https://github.com/CymChad/BaseRecyclerViewA…
AllenCoder May 9, 2018
25dafd5
update travis config
AllenCoder May 9, 2018
4693c0c
update travis config
AllenCoder May 9, 2018
12822b3
Merge pull request #2220 from AllenCoder/master
AllenCoder May 9, 2018
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 27 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
version: 2
jobs:
build:
working_directory: ~/code
docker:
- image: circleci/android:api-26-alpha
environment:
JVM_OPTS: -Xmx3200m
steps:
- checkout
- restore_cache:
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Download Dependencies
command: ./gradlew androidDependencies
- save_cache:
paths:
- ~/.gradle
key: jars-{{ checksum "build.gradle" }}-{{ checksum "app/build.gradle" }}
- run:
name: Run Tests
command: ./gradlew lint test
- store_artifacts:
path: app/build/reports
destination: reports
- store_test_results:
path: app/build/test-results
9 changes: 0 additions & 9 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,3 @@ proguard/
.gradle
.idea
build
<<<<<<< HEAD
/.idea/


.idea/misc.xml
=======
.DS_Store

/app/.gitignore
22 changes: 0 additions & 22 deletions .idea/compiler.xml

This file was deleted.

3 changes: 0 additions & 3 deletions .idea/copyright/profiles_settings.xml

This file was deleted.

6 changes: 0 additions & 6 deletions .idea/encodings.xml

This file was deleted.

21 changes: 0 additions & 21 deletions .idea/gradle.xml

This file was deleted.

11 changes: 0 additions & 11 deletions .idea/modules.xml

This file was deleted.

12 changes: 0 additions & 12 deletions .idea/runConfigurations.xml

This file was deleted.

20 changes: 20 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
language: android
jdk: oraclejdk8
sudo: false

android:
components:
- tools
- platform-tools
- build-tools-27.0.2
- android-27
- extra-android-m2repository
- extra-android-support
before_install:
- chmod +x gradlew
- mkdir "$ANDROID_HOME/licenses" || true
# Hack to accept Android licenses
- yes | sdkmanager "platforms;android-27"

script:
- ./gradlew assembleRelease
36 changes: 18 additions & 18 deletions README-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
## Google Play Demo

[![Get it on Google Play](https://developer.android.com/images/brand/en_generic_rgb_wo_60.png)](https://play.google.com/store/apps/details?id=com.chad.baserecyclerviewadapterhelper)
#它能做什么?([下载 apk](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/raw/master/demo_res/demo.apk))
# 它能做什么?([下载 apk](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/raw/master/demo_res/demo.apk))
- **优化Adapter代码(减少百分之70%代码)**
- **添加点击item点击、长按事件、以及item子控件的点击事件**
- **添加加载动画(一行代码轻松切换5种默认动画)**
Expand All @@ -27,9 +27,9 @@
- **设置空布局(比Listview的setEmptyView还要好用!)**
- **添加拖拽item**

#扩展库
# 扩展库
[PinnedSectionItemDecoration](https://github.com/oubowu/PinnedSectionItemDecoration)
#如何使用它?
# 如何使用它?
先在 build.gradle 的 repositories 添加:
```
allprojects {
Expand All @@ -46,7 +46,7 @@
}
```

#如何使用它来创建Adapter?
# 如何使用它来创建Adapter?
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/item_view.png)
```java
public class QuickAdapter extends BaseQuickAdapter<Status> {
Expand Down Expand Up @@ -77,8 +77,8 @@ mRecyclerView.addOnItemTouchListener(new OnItemClickListener( ){
});

```
#设置 item click 新增添加子布局多个控件的点击事件
#设置 it item child click
# 设置 item click 新增添加子布局多个控件的点击事件
# 设置 it item child click
首先需要添加需要点击触发的 childview id
```
@Override
Expand All @@ -104,7 +104,7 @@ Activity
}
});
```
#设置 it item long click
# 设置 it item long click
```java
mRecyclerView.addOnItemTouchListener(new OnItemLongClickListener( ) {
@Override
Expand All @@ -114,7 +114,7 @@ Activity
}
});
```
#设置 it item child long click
# 设置 it item child long click
首先需要添加需要点击触发的 childview id
```
@Override
Expand Down Expand Up @@ -165,7 +165,7 @@ Activity
```


#如何使用它添加动画?
# 如何使用它添加动画?
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/animation.gif)
```java
// 一行代码搞定(默认为渐显效果)
Expand All @@ -189,7 +189,7 @@ quickAdapter.openLoadAnimation(new BaseAnimation() {
}
});
```
#使用它添加头部添加尾部
# 使用它添加头部添加尾部
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/header_footer.gif)
```java
// add
Expand All @@ -202,7 +202,7 @@ removeFooterView(getView);
removeAllHeaderView();
removeAllFooterView();
```
#使用它加载更多
# 使用它加载更多
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/load_more.gif)
```java
mQuickAdapter.openLoadMore(PAGE_SIZE, true);
Expand All @@ -224,11 +224,11 @@ mQuickAdapter.setOnLoadMoreListener(new BaseQuickAdapter.RequestLoadMoreListener
}
});
```
#设置自定义加载更多布局
# 设置自定义加载更多布局
```java
mQuickAdapter.setLoadingView(customView);
```
#使用分组
# 使用分组
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/section_headers.gif)
```java
public class SectionAdapter extends BaseSectionQuickAdapter<MySection> {
Expand All @@ -251,7 +251,7 @@ public class SectionAdapter extends BaseSectionQuickAdapter<MySection> {
});
}
```
#如何添加多种类型item?
# 如何添加多种类型item?
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/multiple_item.gif)
```java
public class MultipleItemQuickAdapter extends BaseMultiItemQuickAdapter<MultipleItem> {
Expand All @@ -276,12 +276,12 @@ public class MultipleItemQuickAdapter extends BaseMultiItemQuickAdapter<Multiple

}
```
#使用setEmptyView
# 使用setEmptyView
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/empty_view.gif)
```java
mQuickAdapter.setEmptyView(getView());
```
#使用拖拽与滑动删除
# 使用拖拽与滑动删除
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/drag_item.gif)
```java
OnItemDragListener onItemDragListener = new OnItemDragListener() {
Expand Down Expand Up @@ -328,7 +328,7 @@ mAdapter.enableSwipeItem();
mAdapter.setOnItemSwipeListener(onItemSwipeListener);
```

#Expandable Item
# Expandable Item
![demo](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/blob/master/demo_res/expandable_item.gif)
```Java
// 如果不想使用继承,可以只实现IExpandable接口
Expand Down Expand Up @@ -414,5 +414,5 @@ protected K createBaseViewHolder(View view) {

>**持续更新!,所以推荐Star项目**

#感谢
# 感谢
[JoanZapata / base-adapter-helper](https://github.com/JoanZapata/base-adapter-helper)
48 changes: 33 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,27 +1,43 @@
[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-BaseRecyclerViewAdapterHelper-green.svg?style=true)](https://android-arsenal.com/details/1/3644)
[![](https://jitpack.io/v/CymChad/BaseRecyclerViewAdapterHelper.svg)](https://jitpack.io/#CymChad/BaseRecyclerViewAdapterHelper)
![](https://user-images.githubusercontent.com/7698209/33198075-ef8f2230-d123-11e7-85a3-4cb9b22f877d.png)
[![](https://jitpack.io/v/CymChad/BaseRecyclerViewAdapterHelper.svg)](https://jitpack.io/#CymChad/BaseRecyclerViewAdapterHelper)![](https://travis-ci.org/CymChad/BaseRecyclerViewAdapterHelper.svg?branch=master)[![API](https://img.shields.io/badge/API-14%2B-brightgreen.svg?style=flat)](https://android-arsenal.com/api?level=14)[![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-BaseRecyclerViewAdapterHelper-green.svg?style=true)](https://android-arsenal.com/details/1/3644)[![CircleCI](https://circleci.com/gh/CymChad/BaseRecyclerViewAdapterHelper/tree/master.svg?style=svg)](https://circleci.com/gh/CymChad/BaseRecyclerViewAdapterHelper/tree/master)[![Codacy Badge](https://api.codacy.com/project/badge/Grade/2302d0084d0048eaa0f9bac4350837a0)](https://www.codacy.com/app/CymChad/BaseRecyclerViewAdapterHelper?utm_source=github.com&amp;utm_medium=referral&amp;utm_content=CymChad/BaseRecyclerViewAdapterHelper&amp;utm_campaign=Badge_Grade)[![](https://img.shields.io/badge/%E4%BD%9C%E8%80%85-%E9%99%88%E5%AE%87%E6%98%8E-7AD6FD.svg)](http://www.jianshu.com/u/f958e66439f0)
# BRVAH
http://www.recyclerview.org/
Powerful and flexible RecyclerAdapter,
Please feel free to use this.(Welcome to **Star** and **Fork**)
## Google Play Demo
Please feel free to use this. (Welcome to **Star** and **Fork**)

kotlin demo :[BRVAH_kotlin](https://github.com/AllenCoder/BRVAH_kotlin)
# Document
- [English](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/wiki)
- [中文](http://www.jianshu.com/p/b343fcff51b0)

## [UI](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/694)
## Demo

[![Get it on Google Play](https://developer.android.com/images/brand/en_generic_rgb_wo_60.png)](https://play.google.com/store/apps/details?id=com.chad.baserecyclerviewadapterhelper)
#Document
##v1.9.8
- [English](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/wiki/old_doc)
- [中文](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/wiki/old_doc-cn)

##v2.0.0
- [English](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/wiki)
- [中文](https://github.com/CymChad/BaseRecyclerViewAdapterHelper/wiki/%E9%A6%96%E9%A1%B5)
[国内下载地址](https://fir.im/s91g)

# proguard-rules.pro
```
-keep class com.chad.library.adapter.** {
*;
}
-keep public class * extends com.chad.library.adapter.base.BaseQuickAdapter
-keep public class * extends com.chad.library.adapter.base.BaseViewHolder
-keepclassmembers class **$** extends com.chad.library.adapter.base.BaseViewHolder {
<init>(...);
}
```

#Extension library
# Extension library
[PinnedSectionItemDecoration](https://github.com/oubowu/PinnedSectionItemDecoration)
[EasyRefreshLayout](https://github.com/anzaizai/EasyRefreshLayout)
[EasyRefreshLayout](https://github.com/anzaizai/EasyRefreshLayout)
[EasySwipeMenuLayout](https://github.com/anzaizai/EasySwipeMenuLayout)

#Thanks
# Thanks
[JoanZapata / base-adapter-helper](https://github.com/JoanZapata/base-adapter-helper)

#License
# License
```
Copyright 2016 陈宇明

Expand All @@ -37,3 +53,5 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
```
# 推荐
![](https://user-images.githubusercontent.com/7698209/33198309-4908849a-d125-11e7-80eb-a80c64d61c77.jpeg)
Loading