添加了接口控制文字消息和语音的展示
This commit is contained in:
parent
1f7c6c8adc
commit
d365389ff8
@ -248,6 +248,7 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
|
|||||||
mHonorLayout.setOnClickListener(new View.OnClickListener() {
|
mHonorLayout.setOnClickListener(new View.OnClickListener() {
|
||||||
@Override
|
@Override
|
||||||
public void onClick(View view) {
|
public void onClick(View view) {
|
||||||
|
|
||||||
if (!isAnchor) {
|
if (!isAnchor) {
|
||||||
MobclickAgent.onEvent(mContext, "user_avatar_honor", "荣誉墙按钮");
|
MobclickAgent.onEvent(mContext, "user_avatar_honor", "荣誉墙按钮");
|
||||||
} else {
|
} else {
|
||||||
@ -279,6 +280,7 @@ public class LiveUserDialogFragment extends AbsDialogFragment implements View.On
|
|||||||
ViewClicksAntiShake.clicksAntiShake(giftWall, new ViewClicksAntiShake.ViewClicksCallBack() {
|
ViewClicksAntiShake.clicksAntiShake(giftWall, new ViewClicksAntiShake.ViewClicksCallBack() {
|
||||||
@Override
|
@Override
|
||||||
public void onViewClicks() {
|
public void onViewClicks() {
|
||||||
|
if (TextUtils.equals(mLiveUid, "uid")) return;
|
||||||
Bus.get().post(new LiveAudienceEvent()
|
Bus.get().post(new LiveAudienceEvent()
|
||||||
.setType(LiveAudienceEvent.LiveAudienceType.GIFT_WALL)
|
.setType(LiveAudienceEvent.LiveAudienceType.GIFT_WALL)
|
||||||
.setUid(mToUid)
|
.setUid(mToUid)
|
||||||
|
Loading…
Reference in New Issue
Block a user