getSharedPreferences

Gets a SharedPreferences instance that preferences managed by this will use.

Return

A SharedPreferences instance pointing to the file that contain the values of preferences that are managed by this PreferenceManager. If a PreferenceDataStore has been set, this method returns null.