{% setvar book_path %}/reference/kotlin/androidx/_book.yaml{% endsetvar %} {% include "_shared/_reference-head-tags.html" %}
class PickerActions
Espresso action for interacting with DatePicker and TimePicker.
| See also | |
|---|---|
<a href="http://developer.android.com/guide/topics/ui/controls/pickers.html">Pickers API |
guide |
Public constructors |
|
|---|---|
Public functions |
|
|---|---|
java-static ViewAction! |
Returns a |
java-static ViewAction! |
Returns a |
java-static fun setDate(year: Int, monthOfYear: Int, dayOfMonth: Int): ViewAction!
Returns a ViewAction that sets a date on a DatePicker.
java-static fun setTime(hours: Int, minutes: Int): ViewAction!
Returns a ViewAction that sets a time on a TimePicker.