From 92d1861d8f654b8db2121eee801d65a864fd3252 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 14 May 2024 18:07:37 +0800 Subject: [PATCH] =?UTF-8?q?=E8=B0=83=E6=95=B4=E5=9B=9E#1eb43fb8=E9=80=BB?= =?UTF-8?q?=E8=BE=91=EF=BC=8C=E4=B8=8D=E7=AE=A1=E5=8D=95=E4=BA=BA=E8=BF=98?= =?UTF-8?q?=E6=98=AF=E5=A4=9A=E4=BA=BAPK=E9=83=BD=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E6=8E=92=E4=BD=8D=E8=B5=9B=E4=BF=A1=E6=81=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/views/PortraitLiveManager.java | 5 +++++ 1 file changed, 5 insertions(+) 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 bc8ac5415..ab2b57248 100644 --- a/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java +++ b/live/src/main/java/com/yunbao/live/views/PortraitLiveManager.java @@ -691,6 +691,11 @@ public class PortraitLiveManager implements LivePlayListener, SocketMessageListe } else if (pkInfo != null && pkInfo.getIntValue("drpk_status") == 1) { if (mLiveRoomViewHolder != null) { mLiveRoomViewHolder.initPkRank(null); + String pkUid = pkInfo.getString("pkuid"); + if (!StringUtil.isEmpty(pkUid)) { + //初始化天梯赛信息 + mLiveRoomViewHolder.initRankPKInfo(String.valueOf(data.getLiveInfo().getUid()), pkUid); + } } if (mLivePlayViewHolder != null) { mLivePlayViewHolder.setViewUP(4);