From a1e0a80ac6a67a9c8c9e918f71bcab51f21d6f0d Mon Sep 17 00:00:00 2001 From: MUQING <1966944300@qq.com> Date: Sun, 10 Dec 2023 13:20:20 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=94=B9=E5=96=9C=E6=AC=A2=E9=9F=B3?= =?UTF-8?q?=E4=B9=90=E9=80=BB=E8=BE=91=E5=92=8C=E5=82=A8=E5=AD=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/debug/output-metadata.json | 4 ++-- app/src/main/java/com/muqingbfq/fragment/Media.java | 7 +++---- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/app/debug/output-metadata.json b/app/debug/output-metadata.json index 38f64a4..a06209a 100644 --- a/app/debug/output-metadata.json +++ b/app/debug/output-metadata.json @@ -12,8 +12,8 @@ "filters": [], "attributes": [], "versionCode": 1, - "versionName": "1.7.5", - "outputFile": "Cloud_music-debug-v1.7.5.apk" + "versionName": "1.7.6", + "outputFile": "Cloud_music-debug-v1.7.6.apk" } ], "elementType": "File" diff --git a/app/src/main/java/com/muqingbfq/fragment/Media.java b/app/src/main/java/com/muqingbfq/fragment/Media.java index 35c43e6..e5488ac 100644 --- a/app/src/main/java/com/muqingbfq/fragment/Media.java +++ b/app/src/main/java/com/muqingbfq/fragment/Media.java @@ -7,7 +7,6 @@ import android.os.Bundle; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; -import android.widget.ImageView; import android.widget.LinearLayout; import android.widget.SeekBar; import android.widget.TextView; @@ -18,7 +17,6 @@ import androidx.core.content.ContextCompat; import androidx.fragment.app.Fragment; import com.muqingbfq.R; -import com.muqingbfq.api.url; import com.muqingbfq.bfq; import com.muqingbfq.bfq_an; import com.muqingbfq.bfqkz; @@ -27,8 +25,6 @@ import com.muqingbfq.home; import com.muqingbfq.main; import com.muqingbfq.mq.gj; -import org.json.JSONObject; - import me.wcy.lrcview.LrcView; public class Media extends Fragment { @@ -87,6 +83,9 @@ public class Media extends Fragment { @Override public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, @Nullable Bundle savedInstanceState) { + if (view != null) { + return view; + } FragmentBfqBinding inflate = FragmentBfqBinding.inflate(inflater, container, false); view = inflate.getRoot(); inflate.cardview.addView(home.imageView);