Aracılığıyla paylaş


DialogPreference.OnDialogClosed(Boolean) Method

Definition

Called when the dialog is dismissed and should be used to save data to the SharedPreferences.

[Android.Runtime.Register("onDialogClosed", "(Z)V", "GetOnDialogClosed_ZHandler")]
protected virtual void OnDialogClosed (bool positiveResult);
[<Android.Runtime.Register("onDialogClosed", "(Z)V", "GetOnDialogClosed_ZHandler")>]
abstract member OnDialogClosed : bool -> unit
override this.OnDialogClosed : bool -> unit

Parameters

positiveResult
Boolean

Whether the positive button was clicked (true), or the negative button was clicked or the dialog was canceled (false).

Attributes

Remarks

Called when the dialog is dismissed and should be used to save data to the SharedPreferences.

Java documentation for android.preference.DialogPreference.onDialogClosed(boolean).

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