礼物墙改成新的

This commit is contained in:
ningwenqiang
2024-10-16 13:58:44 +08:00
parent f5d1c6c2ab
commit 11a9711d20
2 changed files with 25 additions and 25 deletions

View File

@@ -3435,18 +3435,19 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
}
public void showGiftWall(String toUid, boolean isAnchor, String mAnchorName, String mAvatarUrl) {
GiftWallDialog giftWallDialog = new GiftWallDialog();
Bundle bundle = new Bundle();
bundle.putString(Constants.LIVE_UID, mLiveUid);
bundle.putString(Constants.LIVE_STREAM, mStream);
bundle.putString("mAnchorName", mAnchorName);
bundle.putString("mAvatarUrl", mAvatarUrl);
bundle.putString("toUid", toUid);
bundle.putInt("isAttention", isAttention);
bundle.putBoolean("isLive", isAnchor);
bundle.putBoolean("SBW", !(mContext instanceof LiveSwAnchorActivity || mContext instanceof LiveRyAnchorActivity));
giftWallDialog.setArguments(bundle);
giftWallDialog.show(((AbsActivity) mContext).getSupportFragmentManager(), "GiftWallDialog");
// GiftWallDialog giftWallDialog = new GiftWallDialog();
new com.yunbao.common.dialog.GiftWallDialog(mContext, toUid, mAnchorName, toUid, isAnchor).setFullWindows(false).showDialog();
// Bundle bundle = new Bundle();
// bundle.putString(Constants.LIVE_UID, mLiveUid);
// bundle.putString(Constants.LIVE_STREAM, mStream);
// bundle.putString("mAnchorName", mAnchorName);
// bundle.putString("mAvatarUrl", mAvatarUrl);
// bundle.putString("toUid", toUid);
// bundle.putInt("isAttention", isAttention);
// bundle.putBoolean("isLive", isAnchor);
// bundle.putBoolean("SBW", !(mContext instanceof LiveSwAnchorActivity || mContext instanceof LiveRyAnchorActivity));
// giftWallDialog.setArguments(bundle);
// giftWallDialog.show(((AbsActivity) mContext).getSupportFragmentManager(), "GiftWallDialog");
}