How to detect if changes were made in the preferences?
I have a class that extends PreferenceActivity and shows the preference screen of my app. Is it possible to check if any changes were made to the preferences? This helps... http://developer.android.com/reference/android/content/SharedPreferences.OnSharedPreferenceChangeListener.html Other related post: SharedPreferences.onSharedPreferenceChangeListener not being called consistently public class PreferenceClass extends PreferenceActivity { OnSharedPreferenceChangeListener listener; public void onCreate(Bundle savedInstanceState) { SharedPreferences prefs = this.getSharedPreferences("settings",