Add SwitchPreferenceCompat

This commit is contained in:
arkon 2021-05-08 09:20:14 -04:00
parent cc271c3249
commit 8dd92e32df
2 changed files with 14 additions and 1 deletions

View File

@ -2,9 +2,10 @@ package androidx.preference;
import android.content.Context;
public class CheckBoxPreference extends Preference {
public class CheckBoxPreference extends TwoStatePreference {
public CheckBoxPreference(Context context) {
super(context);
throw new RuntimeException("Stub!");
}

View File

@ -0,0 +1,12 @@
package androidx.preference;
import android.content.Context;
public class SwitchPreferenceCompat extends TwoStatePreference {
public SwitchPreferenceCompat(Context context) {
super(context);
throw new RuntimeException("Stub!");
}
}