From 9069d4dfdbefa814387e34938df86118dfb76af4 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Tue, 30 Aug 2022 10:00:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E6=84=BF=E5=8D=95=E5=88=B7=E6=96=B0?= =?UTF-8?q?=E6=95=B0=E9=87=8F=E8=BF=9B=E5=BA=A6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/views/PortraitLiveManager.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java index 6fdac214a..0509e24c7 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -904,7 +904,8 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe @Override public void onUpUserList(JSONObject obj) { - mLiveRoomViewHolder.refreshUserList(obj); + if (obj != null && mLiveRoomViewHolder != null) + mLiveRoomViewHolder.refreshUserList(obj); } @Override