礼物墙改成新的
This commit is contained in:
parent
f5d1c6c2ab
commit
11a9711d20
@ -3435,18 +3435,19 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
}
|
}
|
||||||
|
|
||||||
public void showGiftWall(String toUid, boolean isAnchor, String mAnchorName, String mAvatarUrl) {
|
public void showGiftWall(String toUid, boolean isAnchor, String mAnchorName, String mAvatarUrl) {
|
||||||
GiftWallDialog giftWallDialog = new GiftWallDialog();
|
// GiftWallDialog giftWallDialog = new GiftWallDialog();
|
||||||
Bundle bundle = new Bundle();
|
new com.yunbao.common.dialog.GiftWallDialog(mContext, toUid, mAnchorName, toUid, isAnchor).setFullWindows(false).showDialog();
|
||||||
bundle.putString(Constants.LIVE_UID, mLiveUid);
|
// Bundle bundle = new Bundle();
|
||||||
bundle.putString(Constants.LIVE_STREAM, mStream);
|
// bundle.putString(Constants.LIVE_UID, mLiveUid);
|
||||||
bundle.putString("mAnchorName", mAnchorName);
|
// bundle.putString(Constants.LIVE_STREAM, mStream);
|
||||||
bundle.putString("mAvatarUrl", mAvatarUrl);
|
// bundle.putString("mAnchorName", mAnchorName);
|
||||||
bundle.putString("toUid", toUid);
|
// bundle.putString("mAvatarUrl", mAvatarUrl);
|
||||||
bundle.putInt("isAttention", isAttention);
|
// bundle.putString("toUid", toUid);
|
||||||
bundle.putBoolean("isLive", isAnchor);
|
// bundle.putInt("isAttention", isAttention);
|
||||||
bundle.putBoolean("SBW", !(mContext instanceof LiveSwAnchorActivity || mContext instanceof LiveRyAnchorActivity));
|
// bundle.putBoolean("isLive", isAnchor);
|
||||||
giftWallDialog.setArguments(bundle);
|
// bundle.putBoolean("SBW", !(mContext instanceof LiveSwAnchorActivity || mContext instanceof LiveRyAnchorActivity));
|
||||||
giftWallDialog.show(((AbsActivity) mContext).getSupportFragmentManager(), "GiftWallDialog");
|
// giftWallDialog.setArguments(bundle);
|
||||||
|
// giftWallDialog.show(((AbsActivity) mContext).getSupportFragmentManager(), "GiftWallDialog");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -77,8 +77,6 @@ import com.yunbao.common.utils.WordUtil;
|
|||||||
import com.yunbao.common.views.GradientDrawable;
|
import com.yunbao.common.views.GradientDrawable;
|
||||||
import com.yunbao.common.views.UserHomeImgsViewHolder;
|
import com.yunbao.common.views.UserHomeImgsViewHolder;
|
||||||
import com.yunbao.live.activity.LiveRyAnchorActivity;
|
import com.yunbao.live.activity.LiveRyAnchorActivity;
|
||||||
import com.yunbao.live.dialog.GiftWallDialog;
|
|
||||||
import com.yunbao.live.views.ShowBigPhoto;
|
|
||||||
import com.yunbao.video.activity.VideoPlayActivity;
|
import com.yunbao.video.activity.VideoPlayActivity;
|
||||||
import com.yunbao.video.utils.VideoStorge;
|
import com.yunbao.video.utils.VideoStorge;
|
||||||
|
|
||||||
@ -788,17 +786,18 @@ public class UserHomeActivity extends AbsActivity {
|
|||||||
itemLayout03.setOnClickListener(new View.OnClickListener() {
|
itemLayout03.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View v) {
|
public void onClick(View v) {
|
||||||
GiftWallDialog giftWallDialog = new GiftWallDialog();
|
new com.yunbao.common.dialog.GiftWallDialog(mContext, uid,userInfo.getUserHomeTopInfo().getUser_name(), null,isAnchor).setFullWindows(true).showDialog();
|
||||||
Bundle bundle = new Bundle();
|
// GiftWallDialog giftWallDialog = new GiftWallDialog();
|
||||||
bundle.putString(Constants.LIVE_UID, uid);
|
// Bundle bundle = new Bundle();
|
||||||
bundle.putString("mAnchorName", userInfo.getUserHomeTopInfo().getUser_name());
|
// bundle.putString(Constants.LIVE_UID, uid);
|
||||||
bundle.putString("mAvatarUrl", userInfo.getUserHomeTopInfo().getUser_avatar());
|
// bundle.putString("mAnchorName", userInfo.getUserHomeTopInfo().getUser_name());
|
||||||
bundle.putString("toUid", uid);
|
// bundle.putString("mAvatarUrl", userInfo.getUserHomeTopInfo().getUser_avatar());
|
||||||
bundle.putInt("isAttention", userInfo.getUserHomeTopInfo().getIs_attention());
|
// bundle.putString("toUid", uid);
|
||||||
bundle.putBoolean("isLive", isAnchor);
|
// bundle.putInt("isAttention", userInfo.getUserHomeTopInfo().getIs_attention());
|
||||||
bundle.putBoolean("SBW", !(mContext instanceof LiveRyAnchorActivity));
|
// bundle.putBoolean("isLive", isAnchor);
|
||||||
giftWallDialog.setArguments(bundle);
|
// bundle.putBoolean("SBW", !(mContext instanceof LiveRyAnchorActivity));
|
||||||
giftWallDialog.show(((AbsActivity) mContext).getSupportFragmentManager(), "GiftWallDialog");
|
// giftWallDialog.setArguments(bundle);
|
||||||
|
// giftWallDialog.show(((AbsActivity) mContext).getSupportFragmentManager(), "GiftWallDialog");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
itemLayout04.setOnClickListener(new View.OnClickListener() {
|
itemLayout04.setOnClickListener(new View.OnClickListener() {
|
||||||
|
Loading…
Reference in New Issue
Block a user