From 85160a305c8e4d99c2910302b1acc3e7a71c1a7e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E8=80=81=E7=9A=AE?= <14840170+lao-pi123@user.noreply.gitee.com> Date: Mon, 4 Nov 2024 18:03:42 +0800 Subject: [PATCH] =?UTF-8?q?=E8=80=81=E7=89=88=E6=9C=AC=E6=96=B0=E4=BA=BA?= =?UTF-8?q?=E4=BB=BB=E5=8A=A1Toast=20=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/yunbao/live/presenter/LiveLinkMicPresenter.java | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java index 27a9edeaf..d8a171b13 100644 --- a/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java +++ b/live/src/main/java/com/yunbao/live/presenter/LiveLinkMicPresenter.java @@ -124,7 +124,9 @@ public class LiveLinkMicPresenter implements View.OnClickListener { public void publicToast(Context content) { // 定义Toast对象 - Toast toast = new Toast(content); + + // 老版本新人任务Toast 注释 + /* Toast toast = new Toast(content); // 1、加载布局 View view = LayoutInflater.from(content).inflate(R.layout.diy_toast_view, null); // 2、获取组件 @@ -142,7 +144,7 @@ public class LiveLinkMicPresenter implements View.OnClickListener { // 5-3、250 表示距离上方250dp toast.setGravity(Gravity.CENTER, Gravity.CENTER, Gravity.CENTER); // 6、显示toast - toast.show(); + toast.show();*/ }