Skip to content

Commit 9376211

Browse files
committed
fixbug CymChad#1564
1 parent 2385c22 commit 9376211

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

library/src/main/java/com/chad/library/adapter/base/BaseQuickAdapter.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,8 @@ public int expandAll(int position, boolean init) {
17161716
}
17171717

17181718
public void expandAll() {
1719-
for (int i = mData.size() - 1; i >= getHeaderLayoutCount(); i--) {
1719+
1720+
for (int i = mData.size() - 1 + getHeaderLayoutCount(); i >= getHeaderLayoutCount(); i--) {
17201721
expandAll(i, false, false);
17211722
}
17221723
}

0 commit comments

Comments
 (0)