From 6c19f0efc44dd89535b76dfb24346312681c7a77 Mon Sep 17 00:00:00 2001 From: 18142669586 <1669783059@qq.com> Date: Sat, 8 Apr 2023 18:21:53 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BF=83=E6=84=BF=E5=8D=95=E5=AE=A1=E6=A0=B8?= =?UTF-8?q?=E5=92=8C=E8=B4=B5=E6=97=8F=E8=B4=AD=E4=B9=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../java/com/yunbao/live/dialog/LiveHDDialogFragment.java | 5 ++++- .../yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java | 6 +++++- 2 files changed, 9 insertions(+), 2 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 8047fabd9..6fbe15a95 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveHDDialogFragment.java @@ -1,6 +1,8 @@ package com.yunbao.live.dialog; +import static com.yunbao.live.views.LiveRoomViewHolder.mLiveUid; + import android.content.DialogInterface; import android.graphics.Color; import android.os.Build; @@ -368,9 +370,10 @@ public class LiveHDDialogFragment extends AbsDialogFragment { UserBean u = CommonAppConfig.getInstance().getUserBean(); String url = CommonAppConfig.HOST + "/h5/Noble/index.html?nickname=" + u.getUserNiceName() + "&usernobId=" + u.getNoble_id() + "&uid=" - + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken()+"&active="+event.getData(); + + CommonAppConfig.getInstance().getUid() + "&token=" + CommonAppConfig.getInstance().getToken()+"&active="+event.getData()+ "&anchorUid=" + mLiveUid; ZhuangBanActivity.forward(mContext, url, false); } + } } } diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java b/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java index f660a3645..1d5fbd961 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveNewGuardBuyDialogFragment.java @@ -199,7 +199,11 @@ public class LiveNewGuardBuyDialogFragment extends AbsDialogFragment implements buyItemsAdapter.notifyDataSetChanged(); if(bundle.getString("by")!=null){ - refreshList(Integer.parseInt(bundle.getString("by"))-1); +// if(bundle.getString("by").equals("1")){ +// refreshList(Integer.parseInt(bundle.getString("by"))); +// }else { + refreshList(Integer.parseInt(bundle.getString("by"))); +// } }else{ refreshList(1); }