From 60e82fa8e4478d97defaf63dc9e02c651532227b Mon Sep 17 00:00:00 2001 From: Martin <13046765170@163.com> Date: Mon, 29 Jul 2024 13:45:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=BB=E6=92=AD=E7=AB=AF=E5=B1=95=E7=A4=BA?= =?UTF-8?q?=E5=A4=A9=E6=A2=AF=E8=B5=9B=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/activity/LiveRyAnchorActivity.java | 3 +++ .../java/com/yunbao/live/activity/LiveSwAnchorActivity.java | 3 +++ .../main/java/com/yunbao/live/views/PortraitLiveManager.java | 3 +++ 3 files changed, 9 insertions(+) diff --git a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java index f7ed22632..5c5aed430 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveRyAnchorActivity.java @@ -883,6 +883,9 @@ public class LiveRyAnchorActivity extends LiveActivity implements LiveFunctionCl if(mLiveRoomViewHolder!=null){ mLiveRoomViewHolder.initPrankProgress(2); mLiveRoomViewHolder.sendMsgPrank(); + + //初始化天梯数据 + mLiveRoomViewHolder.initRankPKInfo(mLiveUid,""); } } diff --git a/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java index c5ac1a517..255b0acc4 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveSwAnchorActivity.java @@ -877,6 +877,9 @@ public class LiveSwAnchorActivity extends LiveActivity implements LiveFunctionCl if(mLiveRoomViewHolder!=null){ mLiveRoomViewHolder.initPrankProgress(2); mLiveRoomViewHolder.sendMsgPrank(); + + //初始化天梯数据 + mLiveRoomViewHolder.initRankPKInfo(mLiveUid,""); } mLiveSwLinkMicPkPresenter.setmLiveRoomViewHolder(mLiveRoomViewHolder); } 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 64aeda683..c36165831 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -815,6 +815,9 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe upDataPkScore(pkInfo.getJSONArray("userlist"), pkInfo.getIntValue("drpk_time")); isShowPrank = false; + }else{ + //初始化天梯赛数据(不在pk过程中) + mLiveRoomViewHolder.initRankPKInfo(mLiveUid,""); } if (data.getEnterRoomInfo().getGuard() != null) { if (mLiveRoomViewHolder != null) {