6.5.4礼物冠名
This commit is contained in:
parent
55cbd0ff5b
commit
96daf73a5c
@ -462,13 +462,13 @@ public class LiveGiftPopup extends AbsDialogFragment {
|
||||
goldText.setText(coinModel.getGold());
|
||||
diamondText.setText(coinModel.getCoin());
|
||||
lvStr.setText("Lv." + coinModel.getUserLevel());
|
||||
int nextLeve = Integer.parseInt(coinModel.getUserLevel());
|
||||
int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards());
|
||||
int maxLeve = Integer.parseInt(coinModel.getUserLevelMax());
|
||||
findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) &&
|
||||
TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE);
|
||||
if (maxLeve > nextLeve) {
|
||||
String leveNext = String.valueOf(nextLeve + 1);
|
||||
String userNextLevel = coinModel.getUserNextLevelRewards();
|
||||
String leveNext = String.valueOf(nextLeve);
|
||||
String userNextLevel = coinModel.getUserLevelUpgrades();
|
||||
String hint = String.format(getString(R.string.leveling_points),
|
||||
userNextLevel, leveNext);
|
||||
int leveNextIndexOf = hint.indexOf(leveNext);
|
||||
|
Loading…
Reference in New Issue
Block a user