From 3da9a2639266f2e3e7ee9b472c5a485394a403c2 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Wed, 31 Aug 2022 15:35:53 +0800 Subject: [PATCH] =?UTF-8?q?fix:=E8=B0=83=E6=95=B4=E5=B0=8F=E6=97=B6?= =?UTF-8?q?=E6=A6=9C=E9=AB=98=E5=BA=A6=E4=B8=BA=E5=9B=BA=E5=AE=9A=E5=80=BC?= =?UTF-8?q?=20fix=EF=BC=9A=E4=BF=AE=E5=A4=8D=E8=B7=B3=E8=BD=AC=E5=88=B0?= =?UTF-8?q?=E5=8A=A0=E5=AF=86=E6=88=BF=E6=9C=AA=E5=BC=B9=E5=AF=86=E7=A0=81?= =?UTF-8?q?=E6=A1=86=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/dialog/LiveHDDialogFragment.java | 5 +++-- .../main/java/com/yunbao/live/views/LiveRoomViewHolder.java | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java index 72ea9c55b..67b9c19b2 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java @@ -246,13 +246,14 @@ public class LiveHDDialogFragment extends AbsDialogFragment { } } - private LiveRoomCheckLivePresenter mCheckLivePresenter; private void gotoLive(final String live_id) { + private LiveRoomCheckLivePresenter mCheckLivePresenter; + private void gotoLive(final String live_id) { LiveHttpUtil.getLiveInfo(live_id, new HttpCallback() { @Override public void onSuccess(int code, String msg, String[] info) { if (code == 0 && info.length > 0) { LiveBean liveBean = JSON.parseObject(info[0], LiveBean.class); - + LiveRoomCheckLivePresenter.isRoom = false; if (mCheckLivePresenter == null) { mCheckLivePresenter = new LiveRoomCheckLivePresenter(mContext, new LiveRoomCheckLivePresenter.ActionListener() { @Override 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 7386bc10e..118f9d3da 100644 --- a/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java +++ b/live/src/main/java/com/yunbao/live/views/LiveRoomViewHolder.java @@ -1119,7 +1119,7 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis url += "&uid=" + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken() + "&anchorUid=" + mLiveUid; bundle.putString("url", url); - // bundle.putInt("height", DpUtil.dp2px(500)); + bundle.putInt("height", DpUtil.dp2px(500)); bundle.putInt("show_type", 0); LiveHDDialogFragment liveHDDialogFragment = new LiveHDDialogFragment(); liveHDDialogFragment.setArguments(bundle);