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