Share via


DatePicker.SetOnDateChangedListener(DatePicker+IOnDateChangedListener) Method

Definition

Set the callback that indicates the date has been adjusted by the user.

[Android.Runtime.Register("setOnDateChangedListener", "(Landroid/widget/DatePicker$OnDateChangedListener;)V", "GetSetOnDateChangedListener_Landroid_widget_DatePicker_OnDateChangedListener_Handler", ApiSince=26)]
public virtual void SetOnDateChangedListener (Android.Widget.DatePicker.IOnDateChangedListener? onDateChangedListener);
[<Android.Runtime.Register("setOnDateChangedListener", "(Landroid/widget/DatePicker$OnDateChangedListener;)V", "GetSetOnDateChangedListener_Landroid_widget_DatePicker_OnDateChangedListener_Handler", ApiSince=26)>]
abstract member SetOnDateChangedListener : Android.Widget.DatePicker.IOnDateChangedListener -> unit
override this.SetOnDateChangedListener : Android.Widget.DatePicker.IOnDateChangedListener -> unit

Parameters

onDateChangedListener
DatePicker.IOnDateChangedListener

How user is notified date is changed by user, can be null.

Attributes

Remarks

Java documentation for android.widget.DatePicker.setOnDateChangedListener(android.widget.OnDateChangedListener).

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