Build 1.0_r1(from source)

android.content
Interface SharedPreferences.OnSharedPreferenceChangeListener

Enclosing interface:
SharedPreferences

public static interface SharedPreferences.OnSharedPreferenceChangeListener

Interface definition for a callback to be invoked when a shared preference is changed.


Method Summary
 void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key)
          Called when a shared preference is changed, added, or removed.
 

Method Detail

onSharedPreferenceChanged

void onSharedPreferenceChanged(SharedPreferences sharedPreferences,
                               String key)
Called when a shared preference is changed, added, or removed. This may be called even if a preference is set to its existing value.

Parameters:
sharedPreferences - The SharedPreferences that received the change.
key - The key of the preference that was changed, added, or removed.

Build 1.0_r1(from source)

Please submit a feedback, bug or feature