Task 1. Explore HelloSharedPrefs

1.1 Open and Run the HelloSharedPrefs Project

1.2 Explore the Activity code

Task 2. Save and restore data to a shared preferences file

2.1 Initialize the preferences

2.2 Save preferences in onPause()

2.3 Restore preferences in onCreate()

 

2.4 Reset preferences in the reset() click handler