0

I am created a shared preference but my package name not created in my device storage location.

Context plutoContext = G.context.createPackageContext("me.test", Context.MODE_PRIVATE);
                SharedPreferences plutoPreferences = PreferenceManager.getDefaultSharedPreferences(plutoContext);
                SharedPreferences.Editor plutoPrefEditor = plutoPreferences.edit();
                plutoPrefEditor.putString("Vehicles", response.toString());
                plutoPrefEditor.commit();
Fidha Nasher
  • 45
  • 2
  • 10

0 Answers0