心愿单直播间轮播入口(没有设置就隐藏)
This commit is contained in:
parent
849677e50e
commit
95c39cca9d
@ -28,6 +28,17 @@ public class WishModel extends BaseModel {
|
||||
private int giftType;
|
||||
@SerializedName("price")
|
||||
private int price;
|
||||
@SerializedName("isShow")
|
||||
private int isShow = -1;
|
||||
|
||||
public int getIsShow() {
|
||||
return isShow;
|
||||
}
|
||||
|
||||
public WishModel setIsShow(int isShow) {
|
||||
this.isShow = isShow;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
@ -146,7 +157,8 @@ public class WishModel extends BaseModel {
|
||||
}
|
||||
return progress;
|
||||
}
|
||||
public int wishCurrent(){
|
||||
|
||||
public int wishCurrent() {
|
||||
int current = 0;
|
||||
try {
|
||||
current = Integer.parseInt(wishlistProgress);
|
||||
|
@ -480,7 +480,10 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe
|
||||
//初始化顶部banner
|
||||
mLiveRoomViewHolder.initTopBanner();
|
||||
//心愿单顶部bannner
|
||||
mLiveRoomViewHolder.updateTopBanner(data.getWishListProgress());
|
||||
if (data.getWishListProgress().getIsShow()!=0){
|
||||
mLiveRoomViewHolder.updateTopBanner(data.getWishListProgress());
|
||||
}
|
||||
|
||||
isattention = Integer.parseInt(data.getEnterRoomInfo().getIsattention());
|
||||
if (isattention == 0) {
|
||||
if (countDownTimer != null) {
|
||||
|
Loading…
Reference in New Issue
Block a user