From 1aa6cb8f55919b11ac5521e88f46615859049d7e Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Thu, 25 Jan 2024 16:38:44 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B5=8B=E8=AF=95=E5=8F=8D?= =?UTF-8?q?=E9=A6=88=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/common/bean/LiveBattlePassRewardsBean.java | 4 ++++ .../com/yunbao/main/adapter/BattlePassExchangeAdapter.java | 1 + .../java/com/yunbao/main/adapter/BattlePassRewardAdapter.java | 2 ++ 3 files changed, 7 insertions(+) diff --git a/common/src/main/java/com/yunbao/common/bean/LiveBattlePassRewardsBean.java b/common/src/main/java/com/yunbao/common/bean/LiveBattlePassRewardsBean.java index 90001245c..7467819fb 100644 --- a/common/src/main/java/com/yunbao/common/bean/LiveBattlePassRewardsBean.java +++ b/common/src/main/java/com/yunbao/common/bean/LiveBattlePassRewardsBean.java @@ -208,6 +208,10 @@ public class LiveBattlePassRewardsBean extends BaseModel{ ", liveBattlePassTypeId=" + liveBattlePassTypeId + ", rewardName='" + rewardName + '\'' + ", imageUrl='" + imageUrl + '\'' + + ", sendRewardType=" + sendRewardType + + ", sendGiftType=" + sendGiftType + + ", sendRewardNeedcoin='" + sendRewardNeedcoin + '\'' + + ", sendRewardRestrictTime='" + sendRewardRestrictTime + '\'' + ", lock=" + lock + ", received=" + received + '}'; diff --git a/main/src/main/java/com/yunbao/main/adapter/BattlePassExchangeAdapter.java b/main/src/main/java/com/yunbao/main/adapter/BattlePassExchangeAdapter.java index 23c3a76cc..66aebb577 100644 --- a/main/src/main/java/com/yunbao/main/adapter/BattlePassExchangeAdapter.java +++ b/main/src/main/java/com/yunbao/main/adapter/BattlePassExchangeAdapter.java @@ -122,6 +122,7 @@ public class BattlePassExchangeAdapter extends RecyclerView.Adapter { view.setText(String.valueOf(reward.getSendRewardNeedcoin())); + ((View)view.getParent()).setVisibility(View.VISIBLE); if (reward.getSendGiftType() == 999) { view.setText(reward.getSendRewardRestrictTime() + (WordUtil.isNewZh() ? "天" : "Days")); if (reward.getSendRewardRestrictTime().equals("0")) { @@ -262,6 +263,7 @@ public class BattlePassRewardAdapter extends RecyclerView.Adapter