战令相关UI调整
This commit is contained in:
parent
9cc30186cd
commit
aef0435b93
@ -210,9 +210,8 @@ public class BattlePassActivity extends AbsActivity {
|
|||||||
levelView.setText("Lv." + data.getLevel());
|
levelView.setText("Lv." + data.getLevel());
|
||||||
expText.setText(data.getBattlePassExp() + "/" +
|
expText.setText(data.getBattlePassExp() + "/" +
|
||||||
(data.getNextLevelExp() == 0 ? data.getBattlePassExp() : data.getNextLevelExp()));
|
(data.getNextLevelExp() == 0 ? data.getBattlePassExp() : data.getNextLevelExp()));
|
||||||
levelProgressView.setMax(data.getNextLevelExp());
|
levelProgressView.setMax(data.getNextLevelExp()-data.getLastLevelExp());
|
||||||
levelProgressView.setMin(data.getLastLevelExp());
|
levelProgressView.setProgress(data.getBattlePassExp()-data.getLastLevelExp());
|
||||||
levelProgressView.setProgress(data.getBattlePassExp());
|
|
||||||
integralView.setText(String.format(WordUtil.getNewString(R.string.battlepass_user_my_integral), data.getPoints()));
|
integralView.setText(String.format(WordUtil.getNewString(R.string.battlepass_user_my_integral), data.getPoints()));
|
||||||
|
|
||||||
for (LiveBattlePassRewardsBean.BattlePassType passType : data.getLive_battle_pass_type()) {
|
for (LiveBattlePassRewardsBean.BattlePassType passType : data.getLive_battle_pass_type()) {
|
||||||
|
Loading…
Reference in New Issue
Block a user