From 7b61e8c5620f7fe7553675b9fdbc38776ea2e493 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Thu, 8 Jun 2023 17:02:20 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8DRanking.getAnchorRankData?= =?UTF-8?q?=E5=A4=9A=E6=AC=A1=E8=B0=83=E7=94=A8=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 9d1b73c82..9117747d5 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -2096,11 +2096,11 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis public void initPkRank(String isLadders) { //PK状态下,pkuid不能为空 - if (((LiveAudienceActivity) mContext).isPkStatus() && pkUidTmp.equals(pkUid) && !StringUtil.isEmpty(pkUid)) { + if (pkUidTmp.equals(pkUid) && !StringUtil.isEmpty(pkUid)) { return; } //非PK状态下,第一次调用通过 - if (pkRankLayout.getTag() != null && pkRankLayout.getTag().equals(mLiveUid)) { + if (pkRankLayout.getTag() != null && pkRankLayout.getTag().equals(mLiveUid) && StringUtil.isEmpty(pkUid)) { return; } pkRankLayout.setTag(mLiveUid);