Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android java shared preferences remove key

SharedPreferences mySPrefs = PreferenceManager.getDefaultSharedPreferences(this);
SharedPreferences.Editor editor = mySPrefs.edit();
editor.remove(key);
editor.commit();
 
PREVIOUS NEXT
Tagged: #android #java #shared #preferences #remove #key
ADD COMMENT
Topic
Name
9+7 =