Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVA

android clear specific sharedpreference value

SharedPreferences preferences = getSharedPreferences("Mypref", 0);
preferences.edit().remove("text").commit();
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #android #clear #specific #sharedpreference
ADD COMMENT
Topic
Name
3+9 =