From a7a23922a2fd0e3f22049822c68068caadab50a4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=8A=E9=85=92=E5=85=A5=E6=B8=85=E6=A2=A6?= <863561164@qq.com> Date: Tue, 11 Jun 2019 20:26:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=AD=A3=E5=BC=8F=E7=89=88=E6=9C=AC1.1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/build.gradle | 4 ++-- .../main/java/com/mzz/zmusicplayer/ui/SongPickerActivity.java | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/app/build.gradle b/app/build.gradle index 988a7d9..5949808 100644 --- a/app/build.gradle +++ b/app/build.gradle @@ -15,8 +15,8 @@ android { applicationId "com.mzz.zmusicplayer" minSdkVersion 24 targetSdkVersion 28 - versionCode 1 - versionName "1.0" + versionCode 2 + versionName "1.1" testInstrumentationRunner "android.support.test.runner.AndroidJUnitRunner" } buildTypes { diff --git a/app/src/main/java/com/mzz/zmusicplayer/ui/SongPickerActivity.java b/app/src/main/java/com/mzz/zmusicplayer/ui/SongPickerActivity.java index 9a6836c..4e838e4 100644 --- a/app/src/main/java/com/mzz/zmusicplayer/ui/SongPickerActivity.java +++ b/app/src/main/java/com/mzz/zmusicplayer/ui/SongPickerActivity.java @@ -80,8 +80,8 @@ public boolean onOptionsItemSelected(MenuItem item) { } private void initAdapter() { -// HashSet allSongIdInFile = LocalSong.getInstance().getAllSongIdInFile(); - songInfos = FileManager.getInstance().getAllSongInfos(null); + HashSet allSongIdInFile = LocalSong.getInstance().getAllSongIdInFile(); + songInfos = FileManager.getInstance().getAllSongInfos(allSongIdInFile); songPickerAdapter = new SongPickerAdapter(songInfos, rvSongFile); songPickerAdapter.setQueryTextListener(svSongFile); songPickerAdapter.setScrollFirstShowInNeed(fabSongScrollFirst);