shared preferences saved value unsaved in android

Solutions on MaxInterview for shared preferences saved value unsaved in android by the best coders in the world

showing results for - "shared preferences saved value unsaved in android"
Pia
30 Sep 2019
1preferences = getApplicationContext().getSharedPreferences(PREFERENCES_NAME, 0);
2SharedPreferences.Editor editor = preferences.edit();
3editor.putString(SETTINGS_BACKGROUND_IMAGE, "okok");
4editor.apply();