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