diff --git a/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java b/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java index 046653d28..f8253963d 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveAudienceViewHolder.java @@ -409,6 +409,9 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder { handler.postDelayed(runnable = new Runnable() { @Override public void run() { + if(!liveUid.equals(mLiveUid)){ + return; + } if (isattention == 0) { LiveChatBean lvBean = new LiveChatBean(); lvBean.setType(-1); @@ -418,6 +421,7 @@ public class LiveAudienceViewHolder extends AbsLiveViewHolder { LiveChatBean lvBean2 = new LiveChatBean(); lvBean2.setType(-2); LiveRoomViewHolder.insertChat(lvBean2, 1); + Log.i("chatMgs", liveUid+"|"+mLiveUid); } }, 10000);//3秒后执行Runnable中的run方法 }