Code example for SharedPreferences.Editor

Methods: putBoolean

0
	} 
 
	@Override 
	public void putBoolean (String key, boolean val) {
		edit(); 
		editor.putBoolean(key, val);
	} 
 
	@Override 
	public void putInteger (String key, int val) {
		edit(); 
		editor.putInt(key, val);
	} 
 
	@Override 
	public void putLong (String key, long val) {
		edit(); 
		editor.putLong(key, val);
	} 
 
	@Override