Most visited

Recently visited

Added in API level 1

TimePickerDialog.OnTimeSetListener

public static interface TimePickerDialog.OnTimeSetListener

android.app.TimePickerDialog.OnTimeSetListener


用于指示用户的回调接口在填充时间内完成(例如,他们点击'OK'按钮)。

Summary

Public methods

abstract void onTimeSet(TimePicker view, int hourOfDay, int minute)

当用户完成设置新时间并关闭对话框时调用。

Public methods

onTimeSet

Added in API level 1
void onTimeSet (TimePicker view, 
                int hourOfDay, 
                int minute)

当用户完成设置新时间并关闭对话框时调用。

Parameters
view TimePicker: the view associated with this listener
hourOfDay int: the hour that was set
minute int: the minute that was set

Hooray!