In my app, I need the values to be saved in to Sharedpreferences file RKs_Data without overwriting the existing data. Every time, I click \'Yes\' in my app, I require all the va
Follow these steps:
Extract the value stored in SharedPreferences
SharedPreferences
String value = prefs.getString(, );
Append to the extracted value
String appendedValue = append(value, newValue);
Write the result back to SharedPreferences
editor.putString(, appendedValue).commit();