修复多人PK不会隐藏女神说和联系方式的问题
This commit is contained in:
parent
6ff83dabff
commit
14490cacfa
@ -306,7 +306,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
private List<BannerBean> mBannerList2 = new ArrayList<>();
|
||||
private List<BannerBean> mBannerList3 = new ArrayList<>();
|
||||
private List<BannerBean> mBannerList4 = new ArrayList<>();
|
||||
private List<BannerBean> mTopBannerList = new ArrayList<>();
|
||||
private List<BannerBean> mTopBannerList = null;
|
||||
private LinearLayout btn_event2, btn_event3, btn_event4, enterRoomLeave2;
|
||||
private ImageView imgEvent;
|
||||
private View btnEvent;
|
||||
@ -1316,7 +1316,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
mBannerList2.clear();
|
||||
mBannerList3.clear();
|
||||
mBannerList4.clear();
|
||||
mTopBannerList.clear();
|
||||
if (mTopBannerList != null) {
|
||||
mTopBannerList.clear();
|
||||
}
|
||||
sayModel = null;
|
||||
updataCleanMic();
|
||||
// initStarChallengeStatus();
|
||||
@ -4285,11 +4287,13 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
String s1 = StringUtil.getDurationText(mPkTimeCount * 1000);
|
||||
textTime.setText(String.format(mContext.getString(R.string.pk_time), s1));
|
||||
countdownHandler.postAtTime(countdownRunnable, getNextSecondTime());
|
||||
hideAnchorSayAndCallAnchor();
|
||||
} else {
|
||||
timeTitle.setVisibility(View.GONE);
|
||||
countdownHandler.removeCallbacks(countdownRunnable);
|
||||
Bus.get().post(new LiveAudienceEvent()
|
||||
.setType(LiveAudienceEvent.LiveAudienceType.PK_TIME_COUNT));
|
||||
showAnchorSayAndCallAnchor();
|
||||
}
|
||||
}
|
||||
};
|
||||
@ -4503,7 +4507,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
}
|
||||
|
||||
public void updateTopBanner() {
|
||||
if (!TextUtils.isEmpty(wishListProgress.getWishlistName())||!TextUtils.isEmpty(wishListProgress.getWishlistProgress())) {
|
||||
if (!TextUtils.isEmpty(wishListProgress.getWishlistName()) || !TextUtils.isEmpty(wishListProgress.getWishlistProgress())) {
|
||||
if (mTopBannerList == null) {
|
||||
mTopBannerList = new ArrayList<>();
|
||||
}
|
||||
@ -4526,7 +4530,12 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
||||
|
||||
public void initTopBanner() {
|
||||
checkNewLetter();
|
||||
mTopBannerList = new ArrayList<>();
|
||||
if (mTopBannerList == null) {
|
||||
mTopBannerList = new ArrayList<>();
|
||||
}
|
||||
if (!mTopBannerList.isEmpty()) {
|
||||
return;
|
||||
}
|
||||
topBanner1.setVisibility(View.GONE);
|
||||
topBanner1.setAutoPlay(true)
|
||||
.setPages(mTopBannerList, new TopBannerCustomViewHolder())
|
||||
|
Loading…
Reference in New Issue
Block a user