共用方式為


DialogPreference.OnPrepareDialogBuilder(AlertDialog+Builder) Method

Definition

Prepares the dialog builder to be shown when the preference is clicked.

[Android.Runtime.Register("onPrepareDialogBuilder", "(Landroid/app/AlertDialog$Builder;)V", "GetOnPrepareDialogBuilder_Landroid_app_AlertDialog_Builder_Handler")]
protected virtual void OnPrepareDialogBuilder (Android.App.AlertDialog.Builder? builder);
[<Android.Runtime.Register("onPrepareDialogBuilder", "(Landroid/app/AlertDialog$Builder;)V", "GetOnPrepareDialogBuilder_Landroid_app_AlertDialog_Builder_Handler")>]
abstract member OnPrepareDialogBuilder : Android.App.AlertDialog.Builder -> unit
override this.OnPrepareDialogBuilder : Android.App.AlertDialog.Builder -> unit

Parameters

Attributes

Remarks

Java documentation for android.preference.DialogPreference.onPrepareDialogBuilder(android.app.Builder).

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