Partager via


DatePickerDialog.SetOnDateSetListener Method

Definition

Sets the listener to call when the user sets the date.

[Android.Runtime.Register("setOnDateSetListener", "(Landroid/app/DatePickerDialog$OnDateSetListener;)V", "GetSetOnDateSetListener_Landroid_app_DatePickerDialog_OnDateSetListener_Handler", ApiSince=24)]
public virtual void SetOnDateSetListener (Android.App.DatePickerDialog.IOnDateSetListener? listener);
[<Android.Runtime.Register("setOnDateSetListener", "(Landroid/app/DatePickerDialog$OnDateSetListener;)V", "GetSetOnDateSetListener_Landroid_app_DatePickerDialog_OnDateSetListener_Handler", ApiSince=24)>]
abstract member SetOnDateSetListener : Android.App.DatePickerDialog.IOnDateSetListener -> unit
override this.SetOnDateSetListener : Android.App.DatePickerDialog.IOnDateSetListener -> unit

Parameters

listener
DatePickerDialog.IOnDateSetListener

the listener to call when the user sets the date

Attributes

Remarks

Java documentation for android.app.DatePickerDialog.setOnDateSetListener(android.app.OnDateSetListener).

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