question: public void onSharedPreferenceChanged ( SharedPreferences sharedPreferences , String key ) { if ( key . equals ( getString ( R . string . pref_key_notification ) ) ) { setNotification ( sharedPreferences . getBoolean ( key , true ) ) ; } else if ( key . equals ( getString ( R . string . pref_key_gmail_signature ) ) ) { setGmailSignaturePrefDescription ( sharedPreferences . getBoolean ( key , false ) ) ; } else if ( key . equals ( getString ( R . string . pref_key_sms_signature ) ) ) { setSmsSignaturePrefDescription ( sharedPreferences . getBoolean ( key , false ) ) ; } }
target:  General change monitor that can be used to call updates based on the preference that was updated.