Skip to content
This repository has been archived by the owner on May 26, 2021. It is now read-only.

Latest commit

 

History

History
36 lines (25 loc) · 4.2 KB

File metadata and controls

36 lines (25 loc) · 4.2 KB

kakao / com.agoda.kakao.picker.date / KDatePicker

KDatePicker

class KDatePicker : KBaseView<KDatePicker>, DatePickerAction, DatePickerAssertion

View for interact with default date picker

See Also

DatePicker

Constructors

Name Summary
<init> KDatePicker(function: ViewBuilder.() -> Unit)
KDatePicker(parent: Matcher<View>, function: ViewBuilder.() -> Unit)
KDatePicker(parent: DataInteraction, function: ViewBuilder.() -> Unit)

Inherited Properties

Name Summary
root open var root: Matcher<Root>
view open val view: ViewInteractionDelegate

Inherited Functions

Name Summary
hasDate open fun hasDate(year: Int, monthOfYear: Int, day: Int): Unit
Check if picker dialog contain selected date Month number will be normalized
hasDay open fun hasDay(day: Int): Unit
Check if picker dialog contain selected day
hasMonth open fun hasMonth(monthOfYear: Int): Unit
Check if picker dialog contain selected month
hasYear open fun hasYear(year: Int): Unit
Check if picker dialog contain selected year
invoke operator fun invoke(function: T.() -> Unit): Unit
Operator that allows usage of DSL style
perform infix fun perform(function: T.() -> Unit): T
Infix function for invoking lambda on your view
setDate open fun setDate(year: Int, monthOfYear: Int, day: Int): ViewInteractionDelegate
Set date to picker dialog Month number will be normalized