修复测试反馈BUG
This commit is contained in:
@@ -34,6 +34,13 @@ public class BattlePassPoints extends BaseModel{
|
||||
@SerializedName("exchange_status_remark")
|
||||
private String exchangeMark;
|
||||
|
||||
@SerializedName("send_reward_type")
|
||||
private int sendRewardType;
|
||||
@SerializedName("send_gift_type")
|
||||
private int sendGiftType;
|
||||
@SerializedName("send_gift_needcoin")
|
||||
private String sendGiftNeedcoin;
|
||||
|
||||
public BattlePassPoints() {
|
||||
}
|
||||
|
||||
@@ -172,4 +179,54 @@ public class BattlePassPoints extends BaseModel{
|
||||
public void setPointsThresholdText(String pointsThresholdText) {
|
||||
this.pointsThresholdText = pointsThresholdText;
|
||||
}
|
||||
|
||||
public int getSendRewardType() {
|
||||
return sendRewardType;
|
||||
}
|
||||
|
||||
public void setSendRewardType(int sendRewardType) {
|
||||
this.sendRewardType = sendRewardType;
|
||||
}
|
||||
|
||||
public int getSendGiftType() {
|
||||
return sendGiftType;
|
||||
}
|
||||
|
||||
public void setSendGiftType(int sendGiftType) {
|
||||
this.sendGiftType = sendGiftType;
|
||||
}
|
||||
|
||||
public String getSendGiftNeedcoin() {
|
||||
return sendGiftNeedcoin;
|
||||
}
|
||||
|
||||
public void setSendGiftNeedcoin(String sendGiftNeedcoin) {
|
||||
this.sendGiftNeedcoin = sendGiftNeedcoin;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "BattlePassPoints{" +
|
||||
"id=" + id +
|
||||
", type=" + type +
|
||||
", rewardsName='" + rewardsName + '\'' +
|
||||
", rewardsId=" + rewardsId +
|
||||
", imageUrl='" + imageUrl + '\'' +
|
||||
", pointsThreshold='" + pointsThreshold + '\'' +
|
||||
", pointsThresholdText='" + pointsThresholdText + '\'' +
|
||||
", rewardsValue='" + rewardsValue + '\'' +
|
||||
", battlePassLevel=" + battlePassLevel +
|
||||
", exchangeQuantity=" + exchangeQuantity +
|
||||
", liveBattlePassTypeId=" + liveBattlePassTypeId +
|
||||
", description='" + description + '\'' +
|
||||
", restrictTime=" + restrictTime +
|
||||
", sort=" + sort +
|
||||
", exchangeStatus=" + exchangeStatus +
|
||||
", userQuintyCount=" + userQuintyCount +
|
||||
", exchangeMark='" + exchangeMark + '\'' +
|
||||
", sendRewardType=" + sendRewardType +
|
||||
", sendGiftType=" + sendGiftType +
|
||||
", sendRewardNeedcoin='" + sendGiftNeedcoin + '\'' +
|
||||
'}';
|
||||
}
|
||||
}
|
||||
|
||||
@@ -277,30 +277,30 @@ public class SudGameListPopup extends BottomPopupView {
|
||||
}
|
||||
});
|
||||
if (interactionID == 0) {
|
||||
gameTitle.setTextColor(getYellowColor());
|
||||
} else {
|
||||
gameTitle.setTextColor(getDefColor());
|
||||
} else {
|
||||
gameTitle.setTextColor(getYellowColor());
|
||||
}
|
||||
if (mSill.equals("0,0,0")) {
|
||||
sillTitle.setTextColor(getYellowColor());
|
||||
} else {
|
||||
sillTitle.setTextColor(getDefColor());
|
||||
} else {
|
||||
sillTitle.setTextColor(getYellowColor());
|
||||
}
|
||||
if ("0".equals(roomHolderType)) {
|
||||
houseOwnerTitle.setTextColor(getYellowColor());
|
||||
} else {
|
||||
houseOwnerTitle.setTextColor(getDefColor());
|
||||
} else {
|
||||
houseOwnerTitle.setTextColor(getYellowColor());
|
||||
}
|
||||
}
|
||||
|
||||
private int getYellowColor() {
|
||||
return Color.parseColor("#FF8D41");
|
||||
}
|
||||
|
||||
private int getDefColor() {
|
||||
return Color.WHITE;
|
||||
}
|
||||
|
||||
private int getYellowColor() {
|
||||
return Color.YELLOW;
|
||||
}
|
||||
|
||||
@Override
|
||||
public void dismiss() {
|
||||
Bus.getOff(this);
|
||||
@@ -318,9 +318,9 @@ public class SudGameListPopup extends BottomPopupView {
|
||||
public void onSudGameListEvent(SudGameListEvent event) {
|
||||
interactionID = event.getInteractionID();
|
||||
if (interactionID == 0) {
|
||||
gameTitle.setTextColor(getYellowColor());
|
||||
} else {
|
||||
gameTitle.setTextColor(getDefColor());
|
||||
} else {
|
||||
gameTitle.setTextColor(getYellowColor());
|
||||
}
|
||||
if (IMLoginManager.get(getContext()).getLocaleLanguage() == Locale.SIMPLIFIED_CHINESE) {
|
||||
gameTitle.setText(event.getTitle());
|
||||
@@ -355,9 +355,9 @@ public class SudGameListPopup extends BottomPopupView {
|
||||
sillTitle.setText(mSillName.substring(0, mSillName.length() - 2));
|
||||
}
|
||||
if (mSill.equals("0,0,0")) {
|
||||
sillTitle.setTextColor(getYellowColor());
|
||||
} else {
|
||||
sillTitle.setTextColor(getDefColor());
|
||||
} else {
|
||||
sillTitle.setTextColor(getYellowColor());
|
||||
}
|
||||
|
||||
ObjectAnimator animator = ObjectAnimator.ofFloat(roomSillArrow, "rotation", 90f, 0f);
|
||||
@@ -378,9 +378,9 @@ public class SudGameListPopup extends BottomPopupView {
|
||||
animator.start();
|
||||
mRefreshView.initData();
|
||||
if ("0".equals(roomHolderType)) {
|
||||
houseOwnerTitle.setTextColor(getYellowColor());
|
||||
} else {
|
||||
houseOwnerTitle.setTextColor(getDefColor());
|
||||
} else {
|
||||
houseOwnerTitle.setTextColor(getYellowColor());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user