From 6cdc648ea9179525b17d304be2d85a74490dd083 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Fri, 5 Jan 2024 16:37:04 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=88=98=E4=BB=A4=E8=B4=AD?= =?UTF-8?q?=E4=B9=B0=E5=90=8E=E6=9C=AA=E5=88=B7=E6=96=B0UI=E9=97=AE?= =?UTF-8?q?=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/main/activity/BattlePassActivity.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java b/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java index 23472be43..8bc19b420 100644 --- a/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java +++ b/main/src/main/java/com/yunbao/main/activity/BattlePassActivity.java @@ -134,7 +134,7 @@ public class BattlePassActivity extends AbsActivity { @Override public void onCallback(int code, String msg) { ToastUtil.show(msg); - fragments.get(viewPager.getCurrentItem()).updateData(); + initData(); } }, String.valueOf(data.getLive_battle_pass_type().get(1).getId()), @@ -221,6 +221,7 @@ public class BattlePassActivity extends AbsActivity { if (data.isBattlePassStatus()) { SpUtil.getInstance().removeValue("is_battle_pass_status"); } + fragments.get(viewPager.getCurrentItem()).updateData(); }