Tablelayout: Lecturing Training and Assement Tricks
Tablelayout: Lecturing Training and Assement Tricks
Following are the different ways to initialize the Shared Preferences in our application.
If we are using single shared preference file for our activity, then we need to initialize
the SharedPreferences object by using getPreferences() method like as shown below.