SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. To mark in the editor that a preference value should be removed, which will be done in the actual preferences once commit() or apply() is called, what method in SharedPreferences.Editor should we use?
A. delete(String key)
B. clear()
C. remove(String key)
D. removeAll()
SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. To mark in the editor
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
SharedPreferences.Editor is an interface used for modifying values in a SharedPreferences object. To mark in the editor
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!