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