This repository has been archived by the owner on May 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
34 changed files
with
528 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
38 changes: 38 additions & 0 deletions
38
docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAction](./index.md) | ||
|
||
# DatePickerAction | ||
|
||
`interface DatePickerAction : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md) | ||
|
||
Provides actions for date picker | ||
|
||
### Inherited Properties | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | | ||
|
||
### Functions | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [setDate](set-date.md) | `open fun setDate(year: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, monthOfYear: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, day: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)<br>Set date to picker dialog Month number will be normalized | | ||
|
||
### Inherited Functions | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [act](../../com.agoda.kakao.common.actions/-base-actions/act.md) | `open fun act(function: () -> ViewAction): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Performs custom action on a view | | ||
| [click](../../com.agoda.kakao.common.actions/-base-actions/click.md) | `open fun click(location: GeneralLocation = GeneralLocation.VISIBLE_CENTER): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Performs click on view | | ||
| [doubleClick](../../com.agoda.kakao.common.actions/-base-actions/double-click.md) | `open fun doubleClick(location: GeneralLocation = GeneralLocation.VISIBLE_CENTER): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Performs double click on view | | ||
| [longClick](../../com.agoda.kakao.common.actions/-base-actions/long-click.md) | `open fun longClick(location: GeneralLocation = GeneralLocation.VISIBLE_CENTER): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Performs long click on view | | ||
| [onFailure](../../com.agoda.kakao.common.actions/-base-actions/on-failure.md) | `open fun onFailure(function: (error: `[`Throwable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-throwable/index.html)`, matcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Adds failure handler to the view | | ||
| [pressImeAction](../../com.agoda.kakao.common.actions/-base-actions/press-ime-action.md) | `open fun pressImeAction(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Presses IME action, if supported view is in focus | | ||
| [repeatUntil](../../com.agoda.kakao.common.actions/-base-actions/repeat-until.md) | `open fun repeatUntil(maxAttempts: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = 1, action: () -> ViewAction, matcher: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Repeats given action on the view until this view will match the given matcher | | ||
| [scrollTo](../../com.agoda.kakao.common.actions/-base-actions/scroll-to.md) | `open fun scrollTo(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Scrolls to the view, if possible | | ||
|
||
### Inheritors | ||
|
||
| Name | Summary | | ||
|---|---| | ||
| [KDatePicker](../-k-date-picker/index.md) | `class KDatePicker : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KDatePicker`](../-k-date-picker/index.md)`>, `[`DatePickerAction`](./index.md)`, `[`DatePickerAssertion`](../-date-picker-assertion/index.md)<br>View for interact with default date picker | |
16 changes: 16 additions & 0 deletions
16
docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/set-date.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAction](index.md) / [setDate](./set-date.md) | ||
|
||
# setDate | ||
|
||
`open fun setDate(year: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, monthOfYear: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, day: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ||
|
||
Set date to picker dialog | ||
Month number will be normalized | ||
|
||
### Parameters | ||
|
||
`year` - year | ||
|
||
`monthOfYear` - month | ||
|
||
`day` - day |
16 changes: 16 additions & 0 deletions
16
docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-date.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAssertion](index.md) / [hasDate](./has-date.md) | ||
|
||
# hasDate | ||
|
||
`open fun hasDate(year: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, monthOfYear: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, day: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | ||
|
||
Check if picker dialog contain selected date | ||
Month number will be normalized | ||
|
||
### Parameters | ||
|
||
`year` - year | ||
|
||
`monthOfYear` - month | ||
|
||
`day` - day |
11 changes: 11 additions & 0 deletions
11
docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-day.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAssertion](index.md) / [hasDay](./has-day.md) | ||
|
||
# hasDay | ||
|
||
`open fun hasDay(day: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | ||
|
||
Check if picker dialog contain selected day | ||
|
||
### Parameters | ||
|
||
`day` - day |
11 changes: 11 additions & 0 deletions
11
docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-month.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAssertion](index.md) / [hasMonth](./has-month.md) | ||
|
||
# hasMonth | ||
|
||
`open fun hasMonth(monthOfYear: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | ||
|
||
Check if picker dialog contain selected month | ||
|
||
### Parameters | ||
|
||
`monthOfYear` - month |
11 changes: 11 additions & 0 deletions
11
docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-year.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAssertion](index.md) / [hasYear](./has-year.md) | ||
|
||
# hasYear | ||
|
||
`open fun hasYear(year: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | ||
|
||
Check if picker dialog contain selected year | ||
|
||
### Parameters | ||
|
||
`year` - year |
Oops, something went wrong.