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);