推荐加跳转直播间
This commit is contained in:
parent
ab2991a999
commit
aaa453c903
@ -25,7 +25,7 @@ public class MsgModel extends BaseModel {
|
|||||||
private String nobleId = "";
|
private String nobleId = "";
|
||||||
@SerializedName("trumpet_msg")
|
@SerializedName("trumpet_msg")
|
||||||
private String trumpetMsg = "";
|
private String trumpetMsg = "";
|
||||||
@SerializedName("anchor_id")
|
@SerializedName(value = "anchor_id", alternate = {"liveuid"})
|
||||||
private String anchorId = "";
|
private String anchorId = "";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
@ -142,6 +142,7 @@ import pl.droidsonroids.gif.GifImageView;
|
|||||||
|
|
||||||
import static com.yunbao.common.CommonAppContext.logger;
|
import static com.yunbao.common.CommonAppContext.logger;
|
||||||
import static com.yunbao.common.CommonAppContext.mFirebaseAnalytics;
|
import static com.yunbao.common.CommonAppContext.mFirebaseAnalytics;
|
||||||
|
import static com.yunbao.live.bean.LiveChatBean.RECOMMEND_CARD_NOTIFY;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Created by cxf on 2018/10/9.
|
* Created by cxf on 2018/10/9.
|
||||||
@ -808,6 +809,8 @@ public class LiveRoomViewHolder extends AbsViewHolder implements View.OnClickLis
|
|||||||
LiveHDDialogFragment liveHDDialogFragment = new LiveHDDialogFragment();
|
LiveHDDialogFragment liveHDDialogFragment = new LiveHDDialogFragment();
|
||||||
liveHDDialogFragment.setArguments(bundle1);
|
liveHDDialogFragment.setArguments(bundle1);
|
||||||
liveHDDialogFragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
|
liveHDDialogFragment.show(((LiveAudienceActivity) mContext).getSupportFragmentManager(), "LiveHDDialogFragment");
|
||||||
|
} else if (bean.getType() == RECOMMEND_CARD_NOTIFY) {
|
||||||
|
gotoLive(bean.getMsgModel().getAnchorId());
|
||||||
} else {
|
} else {
|
||||||
showUserDialog(bean.getId());
|
showUserDialog(bean.getId());
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user