mirror of
https://github.com/antebudimir/tempus.git
synced 2025-12-31 17:43:32 +00:00
clean: mark class as unstable
This commit is contained in:
parent
7779251cec
commit
c8a00d90ea
5 changed files with 16 additions and 0 deletions
|
|
@ -6,8 +6,12 @@ import android.content.Intent;
|
|||
import android.net.ConnectivityManager;
|
||||
import android.view.View;
|
||||
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
|
||||
import com.cappielloantonio.tempo.ui.activity.MainActivity;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public class ConnectivityStatusBroadcastReceiver extends BroadcastReceiver {
|
||||
private final MainActivity activity;
|
||||
|
||||
|
|
|
|||
|
|
@ -5,13 +5,16 @@ import android.app.Dialog;
|
|||
import android.os.Bundle;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.fragment.app.DialogFragment;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
|
||||
import com.cappielloantonio.tempo.R;
|
||||
import com.cappielloantonio.tempo.databinding.DialogServerUnreachableBinding;
|
||||
import com.cappielloantonio.tempo.ui.activity.MainActivity;
|
||||
import com.cappielloantonio.tempo.util.Preferences;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public class ServerUnreachableDialog extends DialogFragment {
|
||||
private static final String TAG = "ServerUnreachableDialog";
|
||||
|
||||
|
|
|
|||
|
|
@ -7,8 +7,10 @@ import android.os.Bundle;
|
|||
import android.widget.Button;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.fragment.app.DialogFragment;
|
||||
import androidx.lifecycle.ViewModelProvider;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
|
||||
import com.cappielloantonio.tempo.R;
|
||||
import com.cappielloantonio.tempo.databinding.DialogStarredSyncBinding;
|
||||
|
|
@ -20,6 +22,7 @@ import com.cappielloantonio.tempo.viewmodel.StarredSyncViewModel;
|
|||
|
||||
import java.util.stream.Collectors;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public class StarredSyncDialog extends DialogFragment {
|
||||
private static final String TAG = "ServerUnreachableDialog";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,12 +1,15 @@
|
|||
package com.cappielloantonio.tempo.ui.fragment.pager;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.viewpager2.adapter.FragmentStateAdapter;
|
||||
|
||||
import com.cappielloantonio.tempo.ui.fragment.PlayerCoverFragment;
|
||||
import com.cappielloantonio.tempo.ui.fragment.PlayerLyricsFragment;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public class PlayerControllerHorizontalPager extends FragmentStateAdapter {
|
||||
private static final String TAG = "PlayerControllerHorizontalPager";
|
||||
|
||||
|
|
|
|||
|
|
@ -1,7 +1,9 @@
|
|||
package com.cappielloantonio.tempo.ui.fragment.pager;
|
||||
|
||||
import androidx.annotation.NonNull;
|
||||
import androidx.annotation.OptIn;
|
||||
import androidx.fragment.app.Fragment;
|
||||
import androidx.media3.common.util.UnstableApi;
|
||||
import androidx.viewpager2.adapter.FragmentStateAdapter;
|
||||
|
||||
import com.cappielloantonio.tempo.ui.fragment.PlayerControllerFragment;
|
||||
|
|
@ -9,6 +11,7 @@ import com.cappielloantonio.tempo.ui.fragment.PlayerQueueFragment;
|
|||
|
||||
import java.util.HashMap;
|
||||
|
||||
@OptIn(markerClass = UnstableApi.class)
|
||||
public class PlayerControllerVerticalPager extends FragmentStateAdapter {
|
||||
private final HashMap<Integer, Fragment> maps;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue