android - Is there a way i can get a sharedpreference name? -
let's created shared preference.
sp = this.getsharedpreferences("name",mode_private);
if i'm in activity, there way can find name of sp , set string?
you can access sharedpreferences same method have used. use public static varibale hold name in class.
Comments
Post a Comment