更改喜欢音乐逻辑和储存

This commit is contained in:
muqing 2023-12-10 13:20:20 +08:00
parent 48f469eab7
commit a1e0a80ac6
2 changed files with 5 additions and 6 deletions

View File

@ -12,8 +12,8 @@
"filters": [], "filters": [],
"attributes": [], "attributes": [],
"versionCode": 1, "versionCode": 1,
"versionName": "1.7.5", "versionName": "1.7.6",
"outputFile": "Cloud_music-debug-v1.7.5.apk" "outputFile": "Cloud_music-debug-v1.7.6.apk"
} }
], ],
"elementType": "File" "elementType": "File"

View File

@ -7,7 +7,6 @@ import android.os.Bundle;
import android.view.LayoutInflater; import android.view.LayoutInflater;
import android.view.View; import android.view.View;
import android.view.ViewGroup; import android.view.ViewGroup;
import android.widget.ImageView;
import android.widget.LinearLayout; import android.widget.LinearLayout;
import android.widget.SeekBar; import android.widget.SeekBar;
import android.widget.TextView; import android.widget.TextView;
@ -18,7 +17,6 @@ import androidx.core.content.ContextCompat;
import androidx.fragment.app.Fragment; import androidx.fragment.app.Fragment;
import com.muqingbfq.R; import com.muqingbfq.R;
import com.muqingbfq.api.url;
import com.muqingbfq.bfq; import com.muqingbfq.bfq;
import com.muqingbfq.bfq_an; import com.muqingbfq.bfq_an;
import com.muqingbfq.bfqkz; import com.muqingbfq.bfqkz;
@ -27,8 +25,6 @@ import com.muqingbfq.home;
import com.muqingbfq.main; import com.muqingbfq.main;
import com.muqingbfq.mq.gj; import com.muqingbfq.mq.gj;
import org.json.JSONObject;
import me.wcy.lrcview.LrcView; import me.wcy.lrcview.LrcView;
public class Media extends Fragment { public class Media extends Fragment {
@ -87,6 +83,9 @@ public class Media extends Fragment {
@Override @Override
public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container, public View onCreateView(@NonNull LayoutInflater inflater, @Nullable ViewGroup container,
@Nullable Bundle savedInstanceState) { @Nullable Bundle savedInstanceState) {
if (view != null) {
return view;
}
FragmentBfqBinding inflate = FragmentBfqBinding.inflate(inflater, container, false); FragmentBfqBinding inflate = FragmentBfqBinding.inflate(inflater, container, false);
view = inflate.getRoot(); view = inflate.getRoot();
inflate.cardview.addView(home.imageView); inflate.cardview.addView(home.imageView);