We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c7cc72f commit ad5e59bCopy full SHA for ad5e59b
.gitignore
@@ -16,6 +16,7 @@ out/
16
# Gradle files
17
.gradle/
18
build/
19
+.idea/
20
21
# Local configuration file (sdk path, etc)
22
local.properties
ByRecyclerview/src/main/java/me/jingbin/library/adapter/BaseByRecyclerViewAdapter.java
@@ -153,7 +153,7 @@ public void removeData(@IntRange(from = 0) int position) {
153
notifyItemRemoved(internalPosition);
154
// 如果移除的是最后一个,忽略
155
if (position != mData.size()) {
156
- notifyItemRangeChanged(internalPosition, mData.size() - internalPosition);
+ notifyItemRangeChanged(internalPosition, mData.size() - position);
157
}
158
159
0 commit comments