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); }