From 28b78e5a2c12e5d1e2175fa63e765aba13f5ae88 Mon Sep 17 00:00:00 2001 From: ShadyTollipop00yy Date: Sat, 3 Jan 2026 12:35:45 +0800 Subject: [PATCH 1/2] update bulid.tools version --- build.gradle | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.gradle b/build.gradle index 103aacfc..7afb913f 100644 --- a/build.gradle +++ b/build.gradle @@ -7,7 +7,7 @@ buildscript { } dependencies { - classpath 'com.android.tools.build:gradle:3.1.2' + classpath 'com.android.tools.build:gradle:3.1.4' } } From 9f05867df230cb73f726b768cb1ec46fd44c0ddc Mon Sep 17 00:00:00 2001 From: ShadyTollipop00yy Date: Sat, 3 Jan 2026 19:27:45 +0800 Subject: [PATCH 2/2] fix https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/2400 --- .../PullToRefreshUseActivity.java | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/app/src/main/java/com/chad/baserecyclerviewadapterhelper/PullToRefreshUseActivity.java b/app/src/main/java/com/chad/baserecyclerviewadapterhelper/PullToRefreshUseActivity.java index b4397c14..e0dd04a1 100644 --- a/app/src/main/java/com/chad/baserecyclerviewadapterhelper/PullToRefreshUseActivity.java +++ b/app/src/main/java/com/chad/baserecyclerviewadapterhelper/PullToRefreshUseActivity.java @@ -183,7 +183,11 @@ private void loadMore() { new Request(mNextRequestPage, new RequestCallBack() { @Override public void success(List data) { - setData(false, data); + /** + * fix https://github.com/CymChad/BaseRecyclerViewAdapterHelper/issues/2400 + */ + boolean isRefresh =mNextRequestPage ==1; + setData(isRefresh, data); } @Override