From c582376cc496bfb548cab6d1d45d08c695ada29b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Fri, 13 Sep 2024 16:32:59 +0800 Subject: [PATCH] =?UTF-8?q?1=E3=80=81=E4=BF=AE=E5=A4=8D=E5=8F=91=E5=B8=83?= =?UTF-8?q?=E5=8A=A8=E6=80=81--=E3=80=8B=E9=80=89=E6=8B=A9=E5=9B=BE?= =?UTF-8?q?=E7=89=87=E5=8F=AF=E8=83=BD=E9=97=AA=E9=80=80bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/main/views/MainHomeCommunityViewHolder.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java b/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java index 56cc3a0e5..034b12112 100644 --- a/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java +++ b/main/src/main/java/com/yunbao/main/views/MainHomeCommunityViewHolder.java @@ -226,6 +226,9 @@ public class MainHomeCommunityViewHolder extends AbsMainHomeChildViewHolder impl } public void setValueCallback2(Uri[] results) { + if (results == null){ + return; + } BaseFragment fragment = fragments.get(viewPager.getCurrentItem()); if (fragment instanceof MainHomeCommunityFragment) { if (((MainHomeCommunityFragment) fragment).mValueCallback2 == null) {