Home | History | Annotate | Download | only in sample

Lines Matching refs:editor

22 import android.content.SharedPreferences.Editor;
48 // Get an editor to modify the preferences.
49 Editor editor = mPreferences.edit();
51 editor.putString(key, value);
53 editor.commit();
70 // Get an editor to modify the preferences.
71 Editor editor = mPreferences.edit();
73 editor.clear();
75 editor.commit();