From e28c6228adcf5e4d1d7b212de73c7df086cf2b4f Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 17 May 2023 16:14:42 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E6=99=B0=E5=BA=A6=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E6=8F=90=E7=A4=BA=E5=BC=B9=E7=AA=97=E9=97=AE=E9=A2=98=E4=BF=AE?= =?UTF-8?q?=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/views/LiveRoomViewHolder.java | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java index a49925831..912fecbe0 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -1501,6 +1501,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis mBannerList4.clear(); if (mTopBannerList != null) { mTopBannerList.clear(); + mTopBannerList = null; } sayModel = null; updataCleanMic(); @@ -1508,7 +1509,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis enterRoomLeave.setVisibility(View.GONE); topBanner1.setVisibility(View.GONE); topBanner2.setVisibility(View.GONE); - + topBanner1.update(mTopBannerList); + topBanner2.update(mTopBannerList); removeDetailView(); } @@ -4985,6 +4987,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis } private void updateCallMe() { + LiveNetManager.get(mContext) .getContactInfo(mLiveUid, new com.yunbao.common.http.base.HttpCallback() { @Override @@ -4999,7 +5002,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis call.setType(TopBannerCustomViewHolder.TYPE_CALL_ANCHOR); mTopBannerList.add(0, call); topBanner1.update(mTopBannerList); - if (topBanner2.getVisibility()==View.VISIBLE){ + if (topBanner2.getVisibility() == View.VISIBLE) { topBanner2.update(mTopBannerList); }