diff --git a/live/src/main/java/com/yunbao/live/dialog/RandomPkDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/RandomPkDialogFragment.java index a8552e9aa..aaae1d485 100644 --- a/live/src/main/java/com/yunbao/live/dialog/RandomPkDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/RandomPkDialogFragment.java @@ -135,7 +135,7 @@ public class RandomPkDialogFragment extends AbsDialogFragment implements View.On mRandomPkSwitch.setOnClickListener(this); mPkBtn.setOnClickListener(this); mPkBtn.setTag(false); - mPkBtn.setOnLongClickListener(v -> { + /*mPkBtn.setOnLongClickListener(v -> { DialogUitl.showSimpleInputDialog(mContext, "输入指定UID", new DialogUitl.SimpleCallback() { @Override public void onConfirmClick(Dialog dialog, String content) { @@ -145,7 +145,7 @@ public class RandomPkDialogFragment extends AbsDialogFragment implements View.On } }); return false; - }); + });*/ } private void initData() { 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 a740bc551..3fef94002 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -280,7 +280,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis private static int mPkTimeCount;//pk时间 public static ImageView img_pk_fist_l, img_pk_fist_r; - public static RoundedImageView avatar_l1, avatar_l2, avatar_l3, avatar_r1, avatar_r2, avatar_r3; + public RoundedImageView avatar_l1, avatar_l2, avatar_l3, avatar_r1, avatar_r2, avatar_r3; public static LivePKUserListBean livePKUserListBean; public String uidL1, uidL2, uidL3, uidR1, uidR2, uidR3; public RelativeLayout lt_pk_line; @@ -1118,6 +1118,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis if (LivePushTxViewHolder.mTRTCCloud != null || LivePushRyViewHolder.rtcRoom != null) { fans_btn.setVisibility(View.GONE); } + mRedVal.setVisibility(View.GONE); + mBlueVal.setVisibility(View.GONE); + mPkRankTopIcon.setVisibility(View.GONE); } /** @@ -1665,6 +1668,9 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis } public void initPkRank(String isLadders) { + mRedVal.setVisibility(View.GONE); + mBlueVal.setVisibility(View.GONE); + mPkRankTopIcon.setVisibility(View.GONE); LiveNetManager.get(mContext) .getRandomPk(mLiveUid, pkUid, new com.yunbao.common.http.base.HttpCallback() { @Override