修复战令购买后未刷新UI问题
This commit is contained in:
parent
85ccbcccae
commit
6cdc648ea9
@ -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();
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user