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

Commit

Permalink
Merge pull request #176 from Unlimity/prepare-release-2.2.0
Browse files Browse the repository at this point in the history
Prepare release 2.2.0
  • Loading branch information
Vacxe authored Oct 10, 2019
2 parents 725b5f4 + 1826510 commit 9911f09
Show file tree
Hide file tree
Showing 27 changed files with 261 additions and 3 deletions.
6 changes: 3 additions & 3 deletions buildsystem/dependencies.gradle
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
ext.versions = [
kotlin : '1.3.41',
kotlin : '1.3.50',
dokka : '0.9.18',
android_gradle : '3.4.2',
bintray : '1.7.3',
Expand Down Expand Up @@ -47,8 +47,8 @@ ext.kakao = [
artifact : 'kakao',
name : 'kakao',
description : 'Kotlin based DSL for fluent AT with Espresso',
version : "2.1.0$alias",
version_desc : "Kakao 2.1.0$alias",
version : "2.2.0$alias",
version_desc : "Kakao 2.2.0$alias",
site : 'https://github.com/agoda-com/Kakao',
github : 'https://github.com/agoda-com/Kakao.git'
]
3 changes: 3 additions & 0 deletions docs/kakao/alltypes/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@
| [com.agoda.kakao.list.KAdapterItemTypeBuilder](../com.agoda.kakao.list/-k-adapter-item-type-builder/index.md) | Class that maps types to providing functions |
| [com.agoda.kakao.Kakao](../com.agoda.kakao/-kakao/index.md) | |
| [com.agoda.kakao.common.KakaoDslMarker](../com.agoda.kakao.common/-kakao-dsl-marker/index.md) | |
| [com.agoda.kakao.dialog.KAlertDialog](../com.agoda.kakao.dialog/-k-alert-dialog/index.md) | View for interact with default alert dialog |
| [com.agoda.kakao.common.views.KBaseView](../com.agoda.kakao.common.views/-k-base-view/index.md) | Base class for all Kakao views |
| [com.agoda.kakao.bottomnav.KBottomNavigationView](../com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md) | View for acting and asserting on BottomNavigationView |
| [com.agoda.kakao.text.KButton](../com.agoda.kakao.text/-k-button/index.md) | View with BaseActions and TextViewAssertions |
Expand All @@ -65,6 +66,7 @@
| [com.agoda.kakao.text.KSnackbar](../com.agoda.kakao.text/-k-snackbar/index.md) | View with internal TextView and a Button |
| [com.agoda.kakao.swiperefresh.KSwipeRefreshLayout](../com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md) | View with SwipeRefreshLayoutActions and SwipeRefreshLayoutAssertions |
| [com.agoda.kakao.common.views.KSwipeView](../com.agoda.kakao.common.views/-k-swipe-view/index.md) | View with SwipeableActions and BaseAssertions |
| [com.agoda.kakao.switch.KSwitch](../com.agoda.kakao.switch/-k-switch/index.md) | View with SwitchableActions, CheckableAssertions and TextViewAssertions |
| [com.agoda.kakao.tabs.KTabLayout](../com.agoda.kakao.tabs/-k-tab-layout/index.md) | View with TabLayoutActions and TabLayoutAssertions |
| [com.agoda.kakao.edit.KTextInputLayout](../com.agoda.kakao.edit/-k-text-input-layout/index.md) | View with TextInputLayoutAssertions |
| [com.agoda.kakao.text.KTextView](../com.agoda.kakao.text/-k-text-view/index.md) | View with BaseActions and TextViewAssertions |
Expand Down Expand Up @@ -98,6 +100,7 @@
| [com.agoda.kakao.swiperefresh.SwipeRefreshLayoutActions](../com.agoda.kakao.swiperefresh/-swipe-refresh-layout-actions/index.md) | Provides actions for SwipeRefreshLayout |
| [com.agoda.kakao.swiperefresh.SwipeRefreshLayoutAssertions](../com.agoda.kakao.swiperefresh/-swipe-refresh-layout-assertions/index.md) | Provides assertion for SwipeRefreshLayout |
| [com.agoda.kakao.common.matchers.SwipeRefreshLayoutMatcher](../com.agoda.kakao.common.matchers/-swipe-refresh-layout-matcher/index.md) | |
| [com.agoda.kakao.switch.SwitchableActions](../com.agoda.kakao.switch/-switchable-actions/index.md) | Provides action for actions on Switch |
| [com.agoda.kakao.tabs.TabLayoutActions](../com.agoda.kakao.tabs/-tab-layout-actions/index.md) | Provides action for TabLayout |
| [com.agoda.kakao.tabs.TabLayoutAssertions](../com.agoda.kakao.tabs/-tab-layout-assertions/index.md) | Provides assertions for TabLayout |
| [com.agoda.kakao.edit.TextInputLayoutAssertions](../com.agoda.kakao.edit/-text-input-layout-assertions/index.md) | Provides assertions for TextInputLayout |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -63,3 +63,4 @@ Provides checkable based assertions for views
| Name | Summary |
|---|---|
| [KCheckBox](../-k-check-box/index.md) | `class KCheckBox : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KCheckBox`](../-k-check-box/index.md)`>, `[`CheckableActions`](../-checkable-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)`, `[`CheckableAssertions`](./index.md)<br>View with CheckableActions, CheckableAssertions and TextViewAssertions |
| [KSwitch](../../com.agoda.kakao.switch/-k-switch/index.md) | `class KSwitch : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KSwitch`](../../com.agoda.kakao.switch/-k-switch/index.md)`>, `[`SwitchableActions`](../../com.agoda.kakao.switch/-switchable-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)`, `[`CheckableAssertions`](./index.md)<br>View with SwitchableActions, CheckableAssertions and TextViewAssertions |
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ Provides a lot of basic action methods, such as click(), scrollTo(), etc.
| [RatingBarActions](../../com.agoda.kakao.rating/-rating-bar-actions/index.md) | `interface RatingBarActions : `[`BaseActions`](./index.md)<br>Provides action for RatingBar |
| [ScrollableActions](../-scrollable-actions/index.md) | `interface ScrollableActions : `[`BaseActions`](./index.md)<br>Provides scrolling actions for view |
| [SwipeableActions](../-swipeable-actions/index.md) | `interface SwipeableActions : `[`BaseActions`](./index.md)<br>Provides swipe actions for views |
| [SwitchableActions](../../com.agoda.kakao.switch/-switchable-actions/index.md) | `interface SwitchableActions : `[`BaseActions`](./index.md)<br>Provides action for actions on Switch |
| [TabLayoutActions](../../com.agoda.kakao.tabs/-tab-layout-actions/index.md) | `interface TabLayoutActions : `[`BaseActions`](./index.md)<br>Provides action for TabLayout |
| [TextViewActions](../../com.agoda.kakao.text/-text-view-actions/index.md) | `interface TextViewActions : `[`BaseActions`](./index.md)<br>Provides actions for TextViews |
| [TimePickerAction](../../com.agoda.kakao.picker.time/-time-picker-action/index.md) | `interface TimePickerAction : `[`BaseActions`](./index.md)<br>Provides actions for time picker |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ and after that all of them will be combined with help of AllOf.allOf()
| [containsText](contains-text.md) | `fun containsText(text: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Matches the view which contain given text |
| [getViewInteractionDelegate](get-view-interaction-delegate.md) | `fun getViewInteractionDelegate(): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)<br>Returns view interaction delegate based on all given matchers |
| [getViewMatcher](get-view-matcher.md) | `fun getViewMatcher(): Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`<br>Returns combined view matcher with AllOf.allOf() |
| [isAssignableFrom](is-assignable-from.md) | `fun isAssignableFrom(clazz: `[`Class`](https://developer.android.com/reference/java/lang/Class.html)`<out `[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Matches views based on instance or subclass of the provided class. |
| [isClickable](is-clickable.md) | `fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Matches the view that is clickable |
| [isCompletelyDisplayed](is-completely-displayed.md) | `fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)<br>Matches the view that is completely displayed |
| [isDescendantOfA](is-descendant-of-a.md) | `fun isDescendantOfA(function: `[`ViewBuilder`](./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>Matches the view which is descendant of given matcher |
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[kakao](../../index.md) / [com.agoda.kakao.common.builders](../index.md) / [ViewBuilder](index.md) / [isAssignableFrom](./is-assignable-from.md)

# isAssignableFrom

`fun isAssignableFrom(clazz: `[`Class`](https://developer.android.com/reference/java/lang/Class.html)`<out `[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)

Matches views based on instance or subclass of the provided class.

### Parameters

`clazz` - Class to match
2 changes: 2 additions & 0 deletions docs/kakao/com.agoda.kakao.common.views/-k-base-view/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ actions/assertions interfaces and override necessary constructors

| Name | Summary |
|---|---|
| [KAlertDialog](../../com.agoda.kakao.dialog/-k-alert-dialog/index.md) | `class KAlertDialog : `[`KBaseView`](./index.md)`<`[`KAlertDialog`](../../com.agoda.kakao.dialog/-k-alert-dialog/index.md)`>`<br>View for interact with default alert dialog |
| [KBottomNavigationView](../../com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md) | `class KBottomNavigationView : `[`KBaseView`](./index.md)`<`[`KBottomNavigationView`](../../com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md)`>, `[`BottomNavigationViewActions`](../../com.agoda.kakao.bottomnav/-bottom-navigation-view-actions/index.md)`, `[`BottomNavigationViewAssertions`](../../com.agoda.kakao.bottomnav/-bottom-navigation-view-assertions/index.md)<br>View for acting and asserting on BottomNavigationView |
| [KButton](../../com.agoda.kakao.text/-k-button/index.md) | `class KButton : `[`KBaseView`](./index.md)`<`[`KButton`](../../com.agoda.kakao.text/-k-button/index.md)`>, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)<br>View with BaseActions and TextViewAssertions |
| [KCheckBox](../../com.agoda.kakao.check/-k-check-box/index.md) | `class KCheckBox : `[`KBaseView`](./index.md)`<`[`KCheckBox`](../../com.agoda.kakao.check/-k-check-box/index.md)`>, `[`CheckableActions`](../../com.agoda.kakao.check/-checkable-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)`, `[`CheckableAssertions`](../../com.agoda.kakao.check/-checkable-assertions/index.md)<br>View with CheckableActions, CheckableAssertions and TextViewAssertions |
Expand All @@ -102,6 +103,7 @@ actions/assertions interfaces and override necessary constructors
| [KSnackbar](../../com.agoda.kakao.text/-k-snackbar/index.md) | `class KSnackbar : `[`KBaseView`](./index.md)`<`[`KSnackbar`](../../com.agoda.kakao.text/-k-snackbar/index.md)`>`<br>View with internal TextView and a Button |
| [KSwipeRefreshLayout](../../com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md) | `class KSwipeRefreshLayout : `[`KBaseView`](./index.md)`<`[`KSwipeRefreshLayout`](../../com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md)`>, `[`SwipeRefreshLayoutActions`](../../com.agoda.kakao.swiperefresh/-swipe-refresh-layout-actions/index.md)`, `[`SwipeRefreshLayoutAssertions`](../../com.agoda.kakao.swiperefresh/-swipe-refresh-layout-assertions/index.md)<br>View with SwipeRefreshLayoutActions and SwipeRefreshLayoutAssertions |
| [KSwipeView](../-k-swipe-view/index.md) | `class KSwipeView : `[`KBaseView`](./index.md)`<`[`KSwipeView`](../-k-swipe-view/index.md)`>, `[`SwipeableActions`](../../com.agoda.kakao.common.actions/-swipeable-actions/index.md)<br>View with SwipeableActions and BaseAssertions |
| [KSwitch](../../com.agoda.kakao.switch/-k-switch/index.md) | `class KSwitch : `[`KBaseView`](./index.md)`<`[`KSwitch`](../../com.agoda.kakao.switch/-k-switch/index.md)`>, `[`SwitchableActions`](../../com.agoda.kakao.switch/-switchable-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)`, `[`CheckableAssertions`](../../com.agoda.kakao.check/-checkable-assertions/index.md)<br>View with SwitchableActions, CheckableAssertions and TextViewAssertions |
| [KTabLayout](../../com.agoda.kakao.tabs/-k-tab-layout/index.md) | `class KTabLayout : `[`KBaseView`](./index.md)`<`[`KTabLayout`](../../com.agoda.kakao.tabs/-k-tab-layout/index.md)`>, `[`TabLayoutActions`](../../com.agoda.kakao.tabs/-tab-layout-actions/index.md)`, `[`TabLayoutAssertions`](../../com.agoda.kakao.tabs/-tab-layout-assertions/index.md)<br>View with TabLayoutActions and TabLayoutAssertions |
| [KTextInputLayout](../../com.agoda.kakao.edit/-k-text-input-layout/index.md) | `class KTextInputLayout : `[`KBaseView`](./index.md)`<`[`KTextInputLayout`](../../com.agoda.kakao.edit/-k-text-input-layout/index.md)`>, `[`TextInputLayoutAssertions`](../../com.agoda.kakao.edit/-text-input-layout-assertions/index.md)<br>View with TextInputLayoutAssertions |
| [KTextView](../../com.agoda.kakao.text/-k-text-view/index.md) | `class KTextView : `[`KBaseView`](./index.md)`<`[`KTextView`](../../com.agoda.kakao.text/-k-text-view/index.md)`>, `[`TextViewActions`](../../com.agoda.kakao.text/-text-view-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)<br>View with BaseActions and TextViewAssertions |
Expand Down
12 changes: 12 additions & 0 deletions docs/kakao/com.agoda.kakao.dialog/-k-alert-dialog/-init-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`KAlertDialog()`

View for interact with default alert dialog

**See Also**

[AlertDialog](https://developer.android.com/reference/android/app/AlertDialog.html)

5 changes: 5 additions & 0 deletions docs/kakao/com.agoda.kakao.dialog/-k-alert-dialog/icon.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [icon](./icon.md)

# icon

`val icon: `[`KImageView`](../../com.agoda.kakao.image/-k-image-view/index.md)
42 changes: 42 additions & 0 deletions docs/kakao/com.agoda.kakao.dialog/-k-alert-dialog/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](./index.md)

# KAlertDialog

`class KAlertDialog : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KAlertDialog`](./index.md)`>`

View for interact with default alert dialog

**See Also**

[AlertDialog](https://developer.android.com/reference/android/app/AlertDialog.html)

### Constructors

| Name | Summary |
|---|---|
| [&lt;init&gt;](-init-.md) | `KAlertDialog()`<br>View for interact with default alert dialog |

### Properties

| Name | Summary |
|---|---|
| [icon](icon.md) | `val icon: `[`KImageView`](../../com.agoda.kakao.image/-k-image-view/index.md) |
| [message](message.md) | `val message: `[`KTextView`](../../com.agoda.kakao.text/-k-text-view/index.md) |
| [negativeButton](negative-button.md) | `val negativeButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) |
| [neutralButton](neutral-button.md) | `val neutralButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) |
| [positiveButton](positive-button.md) | `val positiveButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) |
| [title](title.md) | `val title: `[`KTextView`](../../com.agoda.kakao.text/-k-text-view/index.md) |

### Inherited Properties

| Name | Summary |
|---|---|
| [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher<Root>` |
| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) |

### Inherited Functions

| Name | Summary |
|---|---|
| [invoke](../../com.agoda.kakao.common.views/-k-base-view/invoke.md) | `operator fun invoke(function: `[`T`](../../com.agoda.kakao.common.views/-k-base-view/index.md#T)`.() -> `[`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>Operator that allows usage of DSL style |
| [perform](../../com.agoda.kakao.common.views/-k-base-view/perform.md) | `infix fun perform(function: `[`T`](../../com.agoda.kakao.common.views/-k-base-view/index.md#T)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](../../com.agoda.kakao.common.views/-k-base-view/index.md#T)<br>Infix function for invoking lambda on your view |
5 changes: 5 additions & 0 deletions docs/kakao/com.agoda.kakao.dialog/-k-alert-dialog/message.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [message](./message.md)

# message

`val message: `[`KTextView`](../../com.agoda.kakao.text/-k-text-view/index.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [negativeButton](./negative-button.md)

# negativeButton

`val negativeButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [neutralButton](./neutral-button.md)

# neutralButton

`val neutralButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md)
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [positiveButton](./positive-button.md)

# positiveButton

`val positiveButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md)
5 changes: 5 additions & 0 deletions docs/kakao/com.agoda.kakao.dialog/-k-alert-dialog/title.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[kakao](../../index.md) / [com.agoda.kakao.dialog](../index.md) / [KAlertDialog](index.md) / [title](./title.md)

# title

`val title: `[`KTextView`](../../com.agoda.kakao.text/-k-text-view/index.md)
9 changes: 9 additions & 0 deletions docs/kakao/com.agoda.kakao.dialog/index.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
[kakao](../index.md) / [com.agoda.kakao.dialog](./index.md)

## Package com.agoda.kakao.dialog

### Types

| Name | Summary |
|---|---|
| [KAlertDialog](-k-alert-dialog/index.md) | `class KAlertDialog : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KAlertDialog`](-k-alert-dialog/index.md)`>`<br>View for interact with default alert dialog |
7 changes: 7 additions & 0 deletions docs/kakao/com.agoda.kakao.switch/-k-switch/-init-.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
[kakao](../../index.md) / [com.agoda.kakao.switch](../index.md) / [KSwitch](index.md) / [&lt;init&gt;](./-init-.md)

# &lt;init&gt;

`KSwitch(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
`KSwitch(parent: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>, function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
`KSwitch(parent: DataInteraction, function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
Loading

0 comments on commit 9911f09

Please sign in to comment.