All changes you make in an editor are batched, and not copied back to the original SharedPreferences until you call:

Last Updated on December 3, 2021 by Admin 2

SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. All changes you make in an editor are batched, and not copied back to the original SharedPreferences until you call:

  • commit()
  • apply()
  • commit() or apply()
0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments