From 7795317c1430ba5c3be1418c8706f123bbda3025 Mon Sep 17 00:00:00 2001 From: zlzw <583819556@qq.com> Date: Thu, 11 Jan 2024 16:10:17 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E3=80=90=E7=9B=B4=E6=92=AD?= =?UTF-8?q?=E9=97=B4=E4=BF=A1=E4=BB=B6=E5=BE=80=E4=B8=8B=E6=BB=91=EF=BC=8C?= =?UTF-8?q?=E4=BF=A1=E4=BB=B6=E7=95=8C=E9=9D=A2=E4=BC=9A=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E4=B8=BA=E7=A9=BA=E3=80=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../yunbao/live/dialog/LiveUserAnchorMailBoxPopDialog.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/live/src/main/java/com/yunbao/live/dialog/LiveUserAnchorMailBoxPopDialog.java b/live/src/main/java/com/yunbao/live/dialog/LiveUserAnchorMailBoxPopDialog.java index 18b98a080..1da04a014 100644 --- a/live/src/main/java/com/yunbao/live/dialog/LiveUserAnchorMailBoxPopDialog.java +++ b/live/src/main/java/com/yunbao/live/dialog/LiveUserAnchorMailBoxPopDialog.java @@ -77,10 +77,12 @@ public class LiveUserAnchorMailBoxPopDialog extends AbsDialogPopupWindow { empty.setVisibility(View.GONE); list.setVisibility(View.VISIBLE); return JSON.parseArray(Arrays.toString(info), LiveUserMailBoxModel.class); - } else { + } else if (adapter.getList().size() == 0) { empty.setVisibility(VISIBLE); list.setVisibility(GONE); return new ArrayList(); + }else{ + return new ArrayList<>(); } } else {