- Removed double methods that are not used
This commit is contained in:
parent
c3de5d7f58
commit
cfc1d7135f
|
@ -102,12 +102,6 @@ public class SP {
|
||||||
editor.apply();
|
editor.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
static public void putDouble(int resourceID, double value) {
|
|
||||||
SharedPreferences.Editor editor = sharedPreferences.edit();
|
|
||||||
editor.putString(MainApp.gs(resourceID), Double.toString(value));
|
|
||||||
editor.apply();
|
|
||||||
}
|
|
||||||
|
|
||||||
static public void putLong(String key, long value) {
|
static public void putLong(String key, long value) {
|
||||||
SharedPreferences.Editor editor = sharedPreferences.edit();
|
SharedPreferences.Editor editor = sharedPreferences.edit();
|
||||||
editor.putLong(key, value);
|
editor.putLong(key, value);
|
||||||
|
@ -132,19 +126,6 @@ public class SP {
|
||||||
editor.apply();
|
editor.apply();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
static public void putDouble(int resourceID, Double value) {
|
|
||||||
SharedPreferences.Editor editor = sharedPreferences.edit();
|
|
||||||
editor.putString(MainApp.gs(resourceID), value.toString());
|
|
||||||
editor.apply();
|
|
||||||
}
|
|
||||||
|
|
||||||
static public void putDouble(String key, Double value) {
|
|
||||||
SharedPreferences.Editor editor = sharedPreferences.edit();
|
|
||||||
editor.putString(key, value.toString());
|
|
||||||
editor.apply();
|
|
||||||
}
|
|
||||||
|
|
||||||
static public void putString(int resourceID, String value) {
|
static public void putString(int resourceID, String value) {
|
||||||
SharedPreferences.Editor editor = sharedPreferences.edit();
|
SharedPreferences.Editor editor = sharedPreferences.edit();
|
||||||
editor.putString(MainApp.gs(resourceID), value);
|
editor.putString(MainApp.gs(resourceID), value);
|
||||||
|
|
Loading…
Reference in a new issue