DatePicker.IOnDateChangedListener.OnDateChanged Method

Definition

Called upon a date change.

[Android.Runtime.Register("onDateChanged", "(Landroid/widget/DatePicker;III)V", "GetOnDateChanged_Landroid_widget_DatePicker_IIIHandler:Android.Widget.DatePicker/IOnDateChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnDateChanged (Android.Widget.DatePicker? view, int year, int monthOfYear, int dayOfMonth);
[<Android.Runtime.Register("onDateChanged", "(Landroid/widget/DatePicker;III)V", "GetOnDateChanged_Landroid_widget_DatePicker_IIIHandler:Android.Widget.DatePicker/IOnDateChangedListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnDateChanged : Android.Widget.DatePicker * int * int * int -> unit

Parameters

view
DatePicker

The view associated with this listener.

year
Int32

The year that was set.

monthOfYear
Int32

The month that was set (0-11) for compatibility with java.util.Calendar.

dayOfMonth
Int32

The day of the month that was set.

Attributes

Remarks

Called upon a date change.

Java documentation for android.widget.DatePicker.OnDateChangedListener.onDateChanged(android.widget.DatePicker, int, int, int).

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