From 51f1b9494e378fb5993f9ab11bce757e38e193a6 Mon Sep 17 00:00:00 2001 From: Yutousama <583819556@qq.com> Date: Fri, 27 May 2022 14:23:38 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=B7=BB=E5=8A=A0=E5=A4=9A?= =?UTF-8?q?=E4=B8=AA=E6=AD=8C=E6=9B=B2=E5=88=B0=E9=98=9F=E5=88=97=E4=B8=8D?= =?UTF-8?q?=E6=8F=90=E7=A4=BA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../Adapters/MusicLibsAdapter.java | 43 ++++++++++--------- 1 file changed, 22 insertions(+), 21 deletions(-) diff --git a/app/src/main/java/com/yutou/nas_music_player/Adapters/MusicLibsAdapter.java b/app/src/main/java/com/yutou/nas_music_player/Adapters/MusicLibsAdapter.java index 5983894..0a63c51 100644 --- a/app/src/main/java/com/yutou/nas_music_player/Adapters/MusicLibsAdapter.java +++ b/app/src/main/java/com/yutou/nas_music_player/Adapters/MusicLibsAdapter.java @@ -45,14 +45,15 @@ public class MusicLibsAdapter extends RecyclerView.Adapter list = new ArrayList<>(); @@ -141,7 +142,7 @@ public class MusicLibsAdapter extends RecyclerView.Adapter list = (List) data; for (MusicData musicData : list) { MusicContainer.getInstance().addTmpList(musicData); - hud.dismiss(); } + AppTools.hideHud(); + AppTools.toast(list.size()+"首歌已添加到队列中"); } @Override public void httpError(Exception e) { - + AppTools.toast("添加失败:" + e.getMessage()); } }); } @@ -448,7 +449,7 @@ public class MusicLibsAdapter extends RecyclerView.Adapter