mirror of
https://github.com/tachiyomiorg/tachiyomi-extensions.git
synced 2025-12-10 12:12:01 +01:00
Remove preference-stub (moved into extension-lib 1.2)
This commit is contained in:
@@ -1,8 +0,0 @@
|
||||
apply plugin: 'java-library'
|
||||
|
||||
dependencies {
|
||||
implementation fileTree(dir: 'libs', include: ['*.jar'])
|
||||
}
|
||||
|
||||
sourceCompatibility = "1.6"
|
||||
targetCompatibility = "1.6"
|
||||
@@ -1,7 +0,0 @@
|
||||
package android.content;
|
||||
|
||||
/**
|
||||
* Created by Carlos on 5/9/2018.
|
||||
*/
|
||||
|
||||
public class Context {}
|
||||
@@ -1,9 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class CheckBoxPreference extends Preference {
|
||||
|
||||
public CheckBoxPreference(Context context) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
public abstract class DialogPreference extends Preference {
|
||||
|
||||
public CharSequence getDialogTitle() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDialogTitle(CharSequence dialogTitle) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getDialogMessage() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDialogMessage(CharSequence dialogMessage) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class EditTextPreference extends DialogPreference {
|
||||
|
||||
public EditTextPreference(Context context) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setText(String text) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class ListPreference extends Preference {
|
||||
|
||||
public ListPreference(Context context) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence[] getEntries() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEntries(CharSequence[] entries) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public int findIndexOfValue(String value) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence[] getEntryValues() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEntryValues(CharSequence[] entryValues) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setValueIndex(int index) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
public class Preference {
|
||||
|
||||
public void setOnPreferenceChangeListener(OnPreferenceChangeListener onPreferenceChangeListener) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setOnPreferenceClickListener(OnPreferenceClickListener onPreferenceClickListener) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getTitle() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setTitle(CharSequence title) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getSummary() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setSummary(CharSequence summary) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDefaultValue(Object defaultValue) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public interface OnPreferenceChangeListener {
|
||||
boolean onPreferenceChange(Preference preference, Object newValue);
|
||||
}
|
||||
|
||||
public interface OnPreferenceClickListener {
|
||||
boolean onPreferenceClick(Preference preference);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class PreferenceScreen {
|
||||
|
||||
public boolean addPreference(Preference preference) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public Context getContext() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package android.support.v7.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class TwoStatePreference extends Preference {
|
||||
|
||||
public TwoStatePreference(Context context) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public boolean isChecked() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setChecked(boolean checked) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public CharSequence getSummaryOn() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setSummaryOn(CharSequence summary) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public CharSequence getSummaryOff() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setSummaryOff(CharSequence summary) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public boolean getDisableDependentsState() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setDisableDependentsState(boolean disableDependentsState) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
}
|
||||
@@ -1,11 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class CheckBoxPreference extends Preference {
|
||||
|
||||
public CheckBoxPreference(Context context) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,21 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
public abstract class DialogPreference extends Preference {
|
||||
|
||||
public CharSequence getDialogTitle() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDialogTitle(CharSequence dialogTitle) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getDialogMessage() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDialogMessage(CharSequence dialogMessage) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,19 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class EditTextPreference extends DialogPreference {
|
||||
|
||||
public EditTextPreference(Context context) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getText() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setText(String text) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,43 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class ListPreference extends Preference {
|
||||
|
||||
public ListPreference(Context context) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence[] getEntries() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEntries(CharSequence[] entries) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public int findIndexOfValue(String value) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence[] getEntryValues() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEntryValues(CharSequence[] entryValues) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setValueIndex(int index) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getValue() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setValue(String value) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,53 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
public class Preference {
|
||||
|
||||
public void setOnPreferenceChangeListener(OnPreferenceChangeListener onPreferenceChangeListener) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setOnPreferenceClickListener(OnPreferenceClickListener onPreferenceClickListener) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getTitle() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setTitle(CharSequence title) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getSummary() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setSummary(CharSequence summary) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEnabled(boolean enabled) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public String getKey() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setKey(String key) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDefaultValue(Object defaultValue) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public interface OnPreferenceChangeListener {
|
||||
boolean onPreferenceChange(Preference preference, Object newValue);
|
||||
}
|
||||
|
||||
public interface OnPreferenceClickListener {
|
||||
boolean onPreferenceClick(Preference preference);
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,15 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class PreferenceScreen {
|
||||
|
||||
public boolean addPreference(Preference preference) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public Context getContext() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,25 +0,0 @@
|
||||
package androidx.preference;
|
||||
|
||||
import android.content.Context;
|
||||
|
||||
public class TwoStatePreference extends Preference {
|
||||
|
||||
public TwoStatePreference(Context context) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public boolean isChecked() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setChecked(boolean checked) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public CharSequence getSummaryOn() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setSummaryOn(CharSequence summary) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public CharSequence getSummaryOff() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setSummaryOff(CharSequence summary) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public boolean getDisableDependentsState() { throw new RuntimeException("Stub!"); }
|
||||
|
||||
public void setDisableDependentsState(boolean disableDependentsState) { throw new RuntimeException("Stub!"); }
|
||||
|
||||
}
|
||||
@@ -1,9 +0,0 @@
|
||||
package eu.kanade.tachiyomi.source;
|
||||
|
||||
public interface ConfigurableSource {
|
||||
|
||||
void setupPreferenceScreen(android.support.v7.preference.PreferenceScreen screen);
|
||||
|
||||
void setupPreferenceScreen(androidx.preference.PreferenceScreen screen);
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user