Which call saves preference changes asynchronously?
- flush()
- save()
- commit()
- apply()
Answer
D) apply()
apply() writes in the background; commit() is synchronous and returns a Boolean.
Computer Science MCQ · More UI Events, Views, Preferences and Data Storage MCQs · Practise