From 418d306d72a6265994e8d19d3519c191156c4e52 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Tue, 10 Jan 2023 16:33:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E7=82=B9=E7=B3=BB=E7=BB=9F?= =?UTF-8?q?=E9=80=9A=E7=9F=A5=E6=97=B6=E5=BC=B9=E5=87=BA=E4=BA=86=E7=94=BB?= =?UTF-8?q?=E8=B4=A8=E9=80=89=E9=A1=B9=E6=A1=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/common/views/CustomDrawerPopupView.java | 4 +++- .../com/yunbao/live/activity/LiveAudienceActivity.java | 7 +++++++ 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java b/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java index c5c23580c..9abff4007 100644 --- a/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java +++ b/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java @@ -129,7 +129,7 @@ public class CustomDrawerPopupView extends DrawerPopupView { public void onViewClicks() { dismiss(); if (callBack != null) { - callBack.systemNotice(); + callBack.changeVideo(); } @@ -198,6 +198,8 @@ public class CustomDrawerPopupView extends DrawerPopupView { void systemNotice(); + void changeVideo(); + void online(); void reportLayout(); diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index 462057ed5..430527077 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -877,6 +877,13 @@ public class LiveAudienceActivity extends LiveActivity { @Override public void systemNotice() { + Bus.get().post(new LiveAudienceEvent() + .setBean(mLiveBean) + .setType(LiveAudienceEvent.LiveAudienceType.NOTICE)); + } + + @Override + public void changeVideo() { Bus.get().post(new LiveAudienceEvent() .setBean(mLiveBean) .setType(LiveAudienceEvent.LiveAudienceType.LIVE_VIDEO));