android.content.SharedPreferences Maven / Gradle / Ivy
package android.content;
import java.util.Map;
public interface SharedPreferences {
boolean contains(String key);
String getString(String key, String defaultValue);
Map getAll();
long getLong(String key, long defValue);
Editor edit();
interface Editor {
Editor putLong(String key, long value);
Editor putString(String key, String value);
boolean commit();
void apply();
}
}