mangadex: r18 property support, add title during json, add [END] tag (#323)

* mangadex: r18 property support

* removed log statement

* fixed browse/latest not updating on property change

* clean up formatting

* Mangadex:
adds [END] tag back on final chapter.
Assign title during details parse

* move to preference-stub

* add summary

* fixed finished status
This commit is contained in:
Carlos
2018-05-20 20:23:13 -04:00
committed by GitHub
parent 021884c121
commit 4266908f14
11 changed files with 222 additions and 13 deletions

View File

@ -0,0 +1,7 @@
package android.content;
/**
* Created by Carlos on 5/9/2018.
*/
public class Context {}

View File

@ -0,0 +1,7 @@
package android.support.v7.preference;
/**
* Created by Carlos on 5/9/2018.
*/
public abstract class DialogPreference extends Preference {}

View File

@ -0,0 +1,69 @@
package android.support.v7.preference;
import android.content.Context;
/**
* Created by Carlos on 5/9/2018.
*/
public class ListPreference extends Preference {
public ListPreference(Context context) {
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) {
throw new RuntimeException("Stub!");
}
public void setEntryValues(CharSequence[] entryValues) {
throw new RuntimeException("Stub!");
}
public CharSequence[] getEntryValues() {
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!");
}
public void setSummary(CharSequence summary) {
throw new RuntimeException("Stub!");
}
public CharSequence getSummary() {
throw new RuntimeException("Stub!");
}
}

View File

@ -0,0 +1,19 @@
package android.support.v7.preference;
/**
* Created by Carlos on 5/9/2018.
*/
public class Preference {
public interface OnPreferenceChangeListener {
boolean onPreferenceChange(Preference preference, Object newValue);
}
public void setKey(String key) {
throw new RuntimeException("Stub!");
}
public String getKey() {
throw new RuntimeException("Stub!");
}
}

View File

@ -0,0 +1,18 @@
package android.support.v7.preference;
import android.content.Context;
/**
* Created by Carlos on 5/7/2018.
*/
public class PreferenceScreen{
public boolean addPreference(Preference preference) {
throw new RuntimeException("Stub!");
}
public Context getContext() {
throw new RuntimeException("Stub!");
}
}

View File

@ -0,0 +1,13 @@
package eu.kanade.tachiyomi.source;
import android.support.v7.preference.PreferenceScreen;
/**
* Created by Carlos on 5/7/2018.
*/
public interface ConfigurableSource {
void setupPreferenceScreen(PreferenceScreen screen);
}