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(); }