6.5.4礼物冠名
This commit is contained in:
parent
3b351ffad8
commit
95252f2f02
@ -12,6 +12,17 @@ public class GiftWallGiftDetail extends BaseModel {
|
||||
private String avatar;
|
||||
@SerializedName("naming_coin")
|
||||
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() {
|
||||
return uid;
|
||||
|
@ -117,8 +117,13 @@ public class GiftWallItemPopup extends CenterPopupView {
|
||||
distanceNaming.setVisibility(GONE);
|
||||
} else {
|
||||
distanceNaming.setVisibility(VISIBLE);
|
||||
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())));
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
@Override
|
||||
|
Loading…
Reference in New Issue
Block a user