Page 1 of 1

SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. All changes you make i

Posted: Mon Aug 01, 2022 9:41 am
by answerhappygod
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:

A. commit()
B. apply()
C. commit() or apply()