Most visited

Recently visited

Added in API level 1

DatePickerDialog.OnDateSetListener

public static interface DatePickerDialog.OnDateSetListener

android.app.DatePickerDialog.OnDateSetListener


监听者用来指示用户完成选择日期。

Summary

Public methods

abstract void onDateSet(DatePicker view, int year, int month, int dayOfMonth)

Public methods

onDateSet

Added in API level 1
void onDateSet (DatePicker view, 
                int year, 
                int month, 
                int dayOfMonth)

Parameters
view DatePicker: the picker associated with the dialog
year int: the selected year
month int: the selected month (0-11 for compatibility with MONTH)
dayOfMonth int: th selected day of the month (1-31, depending on month)

Hooray!