ISharedPreferences.RegisterOnSharedPreferenceChangeListener(ISharedPreferencesOnSharedPreferenceChangeListener) ISharedPreferences.RegisterOnSharedPreferenceChangeListener(ISharedPreferencesOnSharedPreferenceChangeListener) Method

Definition

Registers a callback to be invoked when a change happens to a preference.

[Android.Runtime.Register("registerOnSharedPreferenceChangeListener", "(Landroid/content/SharedPreferences$OnSharedPreferenceChangeListener;)V", "GetRegisterOnSharedPreferenceChangeListener_Landroid_content_SharedPreferences_OnSharedPreferenceChangeListener_Handler:Android.Content.ISharedPreferencesInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void RegisterOnSharedPreferenceChangeListener (Android.Content.ISharedPreferencesOnSharedPreferenceChangeListener listener);
abstract member RegisterOnSharedPreferenceChangeListener : Android.Content.ISharedPreferencesOnSharedPreferenceChangeListener -> unit

Parameters

Remarks

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to

See also