From 4dd41528aa43dcf293c3024a603f5a30626f7a98 Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 31 Aug 2022 18:12:26 +0800 Subject: [PATCH 1/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=96=93UI=E4=BF=AE=E6=94=B9,=E7=82=B9=E4=BA=AE?= =?UTF-8?q?=E5=8A=A8=E7=94=BB=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/main/java/com/yunbao/live/views/PortraitLiveManager.java | 1 - 1 file changed, 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 18a89f443..9024371d3 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -325,7 +325,6 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe if (mLiveRoomViewHolder != null) { mLiveRoomViewHolder.removeFromParent(); mLiveRoomViewHolder.clearData(); - mLiveRoomViewHolder.release(); mLiveRoomViewHolder = null; } if (mLiveEndViewHolder != null) { From a1dbdeedf4b69062d8569e6d2ccbd8cfab9140bf Mon Sep 17 00:00:00 2001 From: 18401019693 Date: Wed, 31 Aug 2022 18:42:14 +0800 Subject: [PATCH 2/2] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=EF=BC=9A=20=E7=9B=B4?= =?UTF-8?q?=E6=92=AD=E9=96=93UI=E4=BF=AE=E6=94=B9,=E7=B2=89=E4=B8=9D?= =?UTF-8?q?=E5=9B=A2=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- live/src/main/java/com/yunbao/live/socket/SocketRyClient.java | 1 - live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java b/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java index b00c85be3..ae560eebc 100644 --- a/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java +++ b/live/src/main/java/com/yunbao/live/socket/SocketRyClient.java @@ -178,7 +178,6 @@ public class SocketRyClient { } UserBean us = CommonAppConfig.getInstance().getUserBean(); if (map.getString("uid") != null && map.getString("uid").equals(us.getId())) { - LiveAudienceActivity.is_fans = "1"; int num = LiveAudienceActivity.fansNum + 1; LiveRoomViewHolder.setFansNum(num); } 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 01b0c7d4c..d7bba56d2 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -1416,6 +1416,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis mViewMedal.setVisibility(View.GONE); } else { if (mBtnFollow.getVisibility() == View.VISIBLE) { + LiveAudienceActivity.is_fans = "2"; mBtnFollow.setVisibility(View.GONE); mViewMedal.setVisibility(View.VISIBLE); }