Code example for SharedPreferences

Methods: getIntregisterOnSharedPreferenceChangeListener