Android SharedPreferences clear values -


if sp.clear(); , sp.commit(); executed clear values of sharedpreferences.

it clear values particular instance used initialize sharedpreferences?

it not clear whatever values stored on sharedpreferences other application?

use sp.remove().the remove() method remove shared preference.


Comments

Popular posts from this blog

apache - Remove .php and add trailing slash in url using htaccess not loading css -

javascript - jQuery show full size image on click -