Language

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

builder
AlertDialog.Builder

The builder to configure before the preference dialog is created and shown. Do not create or show the dialog in this callback.

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