Android.Preferences.Preference.OnClick Method
Processes a click on the preference.

Syntax

[Android.Runtime.Register("onClick", "()V", "GetOnClickHandler")]
protected virtual void OnClick ()

Remarks

Processes a click on the preference. This includes saving the value to the Android.Content.ISharedPreferences. However, the overridden method should call Preference.CallChangeListener(Java.Lang.Object) to make sure the client wants to update the preference's state with the new value.

[Android Documentation]

Requirements

Namespace: Android.Preferences
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 1