com.googlecode.androidannotations.api.sharedpreferences
Class EditorHelper<T extends EditorHelper<T>>
java.lang.Object
com.googlecode.androidannotations.api.sharedpreferences.EditorHelper<T>
public abstract class EditorHelper<T extends EditorHelper<T>>
- extends Object
Constructor Summary |
EditorHelper(android.content.SharedPreferences sharedPreferences)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EditorHelper
public EditorHelper(android.content.SharedPreferences sharedPreferences)
getEditor
protected android.content.SharedPreferences.Editor getEditor()
clear
public final T clear()
apply
public final void apply()
intField
protected IntPrefEditorField<T> intField(String key)
stringField
protected StringPrefEditorField<T> stringField(String key)
booleanField
protected BooleanPrefEditorField<T> booleanField(String key)
floatField
protected FloatPrefEditorField<T> floatField(String key)
longField
protected LongPrefEditorField<T> longField(String key)
Copyright © 2010-2013. All Rights Reserved.