6.5.4礼物冠名

This commit is contained in:
18401019693 2023-08-16 14:50:50 +08:00
parent 2a276503b5
commit 3761cad653

View File

@ -464,7 +464,7 @@ public class LiveGiftPopup extends AbsDialogFragment {
goldText.setText(coinModel.getGold()); goldText.setText(coinModel.getGold());
diamondText.setText(coinModel.getCoin()); diamondText.setText(coinModel.getCoin());
lvStr.setText("Lv." + coinModel.getUserLevel()); lvStr.setText("Lv." + coinModel.getUserLevel());
int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards()); int nextLeve = Integer.parseInt(coinModel.getUserNextLevelRewards())+Integer.parseInt(coinModel.getUserLevelCurrentConsumption());
int maxLeve = Integer.parseInt(coinModel.getUserLevelMax()); int maxLeve = Integer.parseInt(coinModel.getUserLevelMax());
findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) && findViewById(R.id.red_point).setVisibility((!TextUtils.isEmpty(coinModel.getUsersPackRedDot())) &&
TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE); TextUtils.equals(coinModel.getUsersPackRedDot(), "1") ? View.VISIBLE : View.GONE);