Code example for SharedPreferences.Editor

Methods: clear

0
	} 
 
	@Override 
	public void clear () { 
		edit(); 
		editor.clear();
	} 
 
	@Override 
	public void flush () { 
		if (editor != null) {
			editor.commit();
			editor = null;
		} 
	} 
 
	@Override 
	public void remove (String key) {
		edit(); 
		editor.remove(key);
	}