心愿单位置移动

This commit is contained in:
18401019693 2023-04-13 17:57:40 +08:00
parent 10588e4810
commit 06e077146b

View File

@ -4533,6 +4533,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
showUserDialog(userId3); showUserDialog(userId3);
} }
}); });
} }
private Runnable countdownRunnable = new Runnable() { private Runnable countdownRunnable = new Runnable() {
@ -4545,11 +4546,12 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
countdownHandler.postAtTime(countdownRunnable, getNextSecondTime()); countdownHandler.postAtTime(countdownRunnable, getNextSecondTime());
hideAnchorSayAndCallAnchor(); hideAnchorSayAndCallAnchor();
} else { } else {
mPkTimeCount = 0;
showAnchorSayAndCallAnchor();
timeTitle.setVisibility(View.GONE); timeTitle.setVisibility(View.GONE);
countdownHandler.removeCallbacks(countdownRunnable); countdownHandler.removeCallbacks(countdownRunnable);
Bus.get().post(new LiveAudienceEvent() Bus.get().post(new LiveAudienceEvent()
.setType(LiveAudienceEvent.LiveAudienceType.PK_TIME_COUNT)); .setType(LiveAudienceEvent.LiveAudienceType.PK_TIME_COUNT));
showAnchorSayAndCallAnchor();
} }
} }
}; };
@ -4559,6 +4561,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
mRoot.removeView(detailsView); mRoot.removeView(detailsView);
detailsView = null; detailsView = null;
} }
mPkTimeCount = 0;
showAnchorSayAndCallAnchor();
} }
/** /**
@ -4739,14 +4743,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
public void hideAnchorSayAndCallAnchor() { public void hideAnchorSayAndCallAnchor() {
mAnchorSay.setVisibility(View.GONE); mAnchorSay.setVisibility(View.GONE);
topBanner1.setVisibility(View.GONE);
if (topBanner1.getVisibility() == View.GONE && mTopBannerList != null && !mTopBannerList.isEmpty()) {
Log.i("女神说", "mTopBannerList: " + mTopBannerList.size());
for (BannerBean bean : mTopBannerList) {
Log.i("女神说", "BannerBean: " + bean);
}
topBanner2.setVisibility(View.VISIBLE); topBanner2.setVisibility(View.VISIBLE);
} topBanner1.setVisibility(View.GONE);
} }
public void showAnchorSayAndCallAnchor() { public void showAnchorSayAndCallAnchor() {