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 java.lang.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(java.lang.String key)
stringField
protected StringPrefEditorField<T> stringField(java.lang.String key)
booleanField
protected BooleanPrefEditorField<T> booleanField(java.lang.String key)
floatField
protected FloatPrefEditorField<T> floatField(java.lang.String key)
longField
protected LongPrefEditorField<T> longField(java.lang.String key)
Copyright © 2010-2012. All Rights Reserved.