6.5.4礼物冠名
This commit is contained in:
parent
3b351ffad8
commit
95252f2f02
@ -12,6 +12,17 @@ public class GiftWallGiftDetail extends BaseModel {
|
|||||||
private String avatar;
|
private String avatar;
|
||||||
@SerializedName("naming_coin")
|
@SerializedName("naming_coin")
|
||||||
private String namingCoin;
|
private String namingCoin;
|
||||||
|
@SerializedName("default_naming_coin")
|
||||||
|
private String default_naming_coin;
|
||||||
|
|
||||||
|
public String getDefault_naming_coin() {
|
||||||
|
return default_naming_coin;
|
||||||
|
}
|
||||||
|
|
||||||
|
public GiftWallGiftDetail setDefault_naming_coin(String default_naming_coin) {
|
||||||
|
this.default_naming_coin = default_naming_coin;
|
||||||
|
return this;
|
||||||
|
}
|
||||||
|
|
||||||
public int getUid() {
|
public int getUid() {
|
||||||
return uid;
|
return uid;
|
||||||
|
@ -117,7 +117,12 @@ public class GiftWallItemPopup extends CenterPopupView {
|
|||||||
distanceNaming.setVisibility(GONE);
|
distanceNaming.setVisibility(GONE);
|
||||||
} else {
|
} else {
|
||||||
distanceNaming.setVisibility(VISIBLE);
|
distanceNaming.setVisibility(VISIBLE);
|
||||||
distanceNaming.setText(String.format(getContext().getString(R.string.distance_naming), String.valueOf(data.getNamingCoin())));
|
if ( !csb){
|
||||||
|
distanceNaming.setText(String.format(getContext().getString(R.string.distance_naming), String.valueOf(data.getDefault_naming_coin())));
|
||||||
|
}else {
|
||||||
|
distanceNaming.setText(String.format(getContext().getString(R.string.distance_naming), String.valueOf(data.getNamingCoin())));
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user