public abstract class EditorHelper<T extends EditorHelper<T>>
extends java.lang.Object
Constructor and Description |
---|
EditorHelper(android.content.SharedPreferences sharedPreferences) |
Modifier and Type | Method and Description |
---|---|
void |
apply() |
protected BooleanPrefEditorField<T> |
booleanField(java.lang.String key) |
T |
clear() |
protected FloatPrefEditorField<T> |
floatField(java.lang.String key) |
protected android.content.SharedPreferences.Editor |
getEditor() |
protected IntPrefEditorField<T> |
intField(java.lang.String key) |
protected LongPrefEditorField<T> |
longField(java.lang.String key) |
protected StringPrefEditorField<T> |
stringField(java.lang.String key) |
protected StringSetPrefEditorField<T> |
stringSetField(java.lang.String key) |
public EditorHelper(android.content.SharedPreferences sharedPreferences)
protected android.content.SharedPreferences.Editor getEditor()
public final T clear()
public final void apply()
protected IntPrefEditorField<T> intField(java.lang.String key)
protected StringPrefEditorField<T> stringField(java.lang.String key)
protected StringSetPrefEditorField<T> stringSetField(java.lang.String key)
protected BooleanPrefEditorField<T> booleanField(java.lang.String key)
protected FloatPrefEditorField<T> floatField(java.lang.String key)
protected LongPrefEditorField<T> longField(java.lang.String key)
Copyright © 2010-2014. All Rights Reserved.