Code example for SharedPreferences.Editor

Methods: clear

0
	protected Editor getEditor() {
		return editor;
	} 
 
	public final T clear() { 
		editor.clear();
		return cast(); 
	} 
 
	public final void apply() { 
		SharedPreferencesCompat.apply(editor);
	} 
 
	protected IntPrefEditorField<T> intField(String key) {
		return new IntPrefEditorField<T>(cast(), key);
	} 
 
	protected StringPrefEditorField<T> stringField(String key) {
		return new StringPrefEditorField<T>(cast(), key);
	}