Most visited

Recently visited

Added in API level 1

DatePicker.OnDateChangedListener

public static interface DatePicker.OnDateChangedListener

android.widget.DatePicker.OnDateChangedListener
Known Indirect Subclasses


用于指示用户更改日期的回调。

Summary

Public methods

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

根据日期变化调用。

Public methods

onDateChanged

Added in API level 1
void onDateChanged (DatePicker view, 
                int year, 
                int monthOfYear, 
                int dayOfMonth)

根据日期变化调用。

Parameters
view DatePicker: The view associated with this listener.
year int: The year that was set.
monthOfYear int: The month that was set (0-11) for compatibility with Calendar.
dayOfMonth int: The day of the month that was set.

Hooray!