January 2018
Intermediate to advanced
434 pages
14h 1m
English
As you can see, we have used the apply() method to save preferences, which commits the changes in the in-memory SharedPreferences immediately, but also starts an asynchronous commit to the disk; commit(), on the other hand, writes to persistent storage synchronously.
Read now
Unlock full access