to top
Android APIs
Added in API level 1
public static interface

DatePicker.OnDateChangedListener

android.widget.DatePicker.OnDateChangedListener
Known Indirect Subclasses

Class Overview

The callback used to indicate the user changes\d the date.

Summary

Public Methods

? Examples
abstract void onDateChanged( DatePicker view, int year, int monthOfYear, int dayOfMonth)
Called upon a date change.

Public Methods

public abstract void onDateChanged (DatePicker view, int year, int monthOfYear, int dayOfMonth)

Added in API level 1

Called upon a date change.

Parameters
view The view associated with this listener.
year The year that was set.
monthOfYear The month that was set (0-11) for compatibility with Calendar.
dayOfMonth The day of the month that was set.
No examples for this method.
Frequently called with: [Clear]
Portions of this page are reproduced from work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License. The original page is available here.