fix:调整小时榜高度为固定值

fix:修复跳转到加密房未弹密码框问题
This commit is contained in:
zlzw 2022-08-31 15:35:53 +08:00
parent ba92e34b7d
commit 3da9a26392
2 changed files with 4 additions and 3 deletions

View File

@ -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

View File

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