Update MSM Extension. (#1061)
* Improve Preference-stub * Re-arrange some stubs to correct class. * Add `EditTextPreference`. * Update MSM extension. * Update filter. * Fix image fetch due to site changes (v4 -> v11) * Add BaseUrl Override for site domain changes. - Korean sources are change domain every 1-2 weeks due to internet censorship. * Add missing file `EditTextPreference.java` * Fix tags.
This commit is contained in:
@ -4,4 +4,20 @@ package android.support.v7.preference;
|
||||
* Created by Carlos on 5/9/2018.
|
||||
*/
|
||||
|
||||
public abstract class DialogPreference extends 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!");
|
||||
}
|
||||
}
|
||||
|
@ -0,0 +1,17 @@
|
||||
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!");
|
||||
}
|
||||
}
|
@ -12,27 +12,12 @@ public class ListPreference extends Preference {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getTitle() {
|
||||
throw new RuntimeException("Stub!");
|
||||
|
||||
}
|
||||
|
||||
public void setTitle(CharSequence title) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setEntries(CharSequence[] entries) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence[] getEntries() {
|
||||
throw new RuntimeException("Stub!");
|
||||
|
||||
}
|
||||
|
||||
public void setOnPreferenceChangeListener(OnPreferenceChangeListener onPreferenceChangeListener) {
|
||||
throw new RuntimeException("Stub!");
|
||||
|
||||
}
|
||||
|
||||
public int findIndexOfValue(String value) {
|
||||
@ -58,12 +43,4 @@ public class ListPreference extends Preference {
|
||||
public void setValue(String value) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setSummary(CharSequence summary) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public CharSequence getSummary() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
}
|
||||
|
@ -9,6 +9,26 @@ public class Preference {
|
||||
boolean onPreferenceChange(Preference preference, Object newValue);
|
||||
}
|
||||
|
||||
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 setKey(String key) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
@ -16,4 +36,16 @@ public class Preference {
|
||||
public String getKey() {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setSummary(CharSequence summary) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public void setDefaultValue(Object defaultValue) {
|
||||
throw new RuntimeException("Stub!");
|
||||
}
|
||||
|
||||
public interface OnPreferenceClickListener {
|
||||
boolean onPreferenceClick(Preference preference);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user