diff --git a/README.md b/README.md index 1625fbf7..7aacafc2 100644 --- a/README.md +++ b/README.md @@ -1,7 +1,7 @@ # Kakao [![Github tag version](https://img.shields.io/github/tag/agoda-com/kakao.svg?label=version)](https://bintray.com/agoda/maven/kakao) [![CircleCI](https://circleci.com/gh/agoda-com/Kakao/tree/master.svg?style=shield&circle-token=0d0ed659625be4efe54fe706c16894cd54213690)](https://circleci.com/gh/agoda-com/Kakao/tree/master) -[![Kotlin version badge](https://img.shields.io/badge/kotlin-1.3.21-blue.svg)](http://kotlinlang.org/) +[![Kotlin version badge](https://img.shields.io/badge/kotlin-1.3.41-blue.svg)](http://kotlinlang.org/) [![Android Arsenal](https://img.shields.io/badge/Android%20Arsenal-Kakao-brightgreen.svg?style=flat)](https://android-arsenal.com/details/1/6314) Nice and simple DSL for Espresso in Kotlin @@ -117,13 +117,11 @@ Inside your `Screen` create the KView matching with your view: For `KListView`: ```Kotlin -val list = KListView ({ - builder = { withId(R.id.list) } }) +val list = KListView { builder = { withId(R.id.list) } } ``` For `KRecyclerView`: ```Kotlin -val myList = KRecyclerView ({ - builder = { withId(R.id.recycler_view) } }) +val recycler = KRecyclerView { builder = { withId(R.id.recycler_view) } } ``` You can combine different matchers to retrieve your view. @@ -180,8 +178,8 @@ Kakao provides different accessors in the adapter: * lastChild * childWith - ##### Custom KViews + If you have custom Views in your tests and you want to create your own `KView`, we have KBaseView. Just extend this class and implement as much additional Action/Assertion interfaces as you want. You also need to override constructors that you need. @@ -193,14 +191,78 @@ class KMyView : KBaseView, MyActions, MyAssertions { constructor(parent: DataInteraction, function: ViewBuilder.() -> Unit) : super(parent, function) } ``` - + +##### Intercepting + +If you need to add custom logic during the `Kakao -> Espresso` call chain (for example, logging) or +if you need to completely change the `ViewAssertion` or `ViewAction` that are being sent to Espresso +during runtime in some cases, you can use the intercepting mechanism. + +Interceptors are lambdas that you pass to a configuration DSL that will be invoked before `ViewInteraction`, +`DataInteraction` or `Web.WebInteraction` classes' `perform` and `check` calls happening from inside Kakao. + +You have the ability to provide interceptors at 3 different levels: Kakao runtime, your 'Screen' classes +and any individual `KView` instance. + +On each invocation of Espresso function that can be intercepted, Kakao will aggregate all available interceptors +for this particular call and invoke them in descending order: `KView interceptor -> Active Screens interceptors -> +Kakao interceptor`. + +Each of the interceptors in the chain can break the chain call by setting `isOverride` to true during configuration. +In that case Kakao will not only stop invoking remaining interceptors in the chain, **but will not perform the Espresso +call**. It means that in such case, the responsibility to actually invoke Espresso lies on the shoulders +of the developer. + +Here's the examples of intercepting configurations: +```Kotlin +class SomeTest { + @Before + fun setup() { + Kakao { // Kakao runtime + intercept { + onViewInteraction { // Intercepting calls on ViewInteraction classes across whole runtime + onPerform { interaction, action -> // Intercept perform() call + Log.d("KAKAO", "$interaction is performing $action") + } + } + } + } + } + + @Test + fun test() { + onScreen { + intercept { + onViewInteraction { // Intercepting calls on ViewInteraction classes while in the context of MyScreen + onCheck { interaction, assertion -> // Intercept check() call + Log.d("KAKAO", "$interaction is checking $assertion") + } + } + } + + myView { + intercept { // Intercepting ViewInteraction calls on this individual view + onPerform(true) { interaction, action -> // Intercept perform() call and overriding the chain + // When performing actions on this view, Kakao level interceptor will not be called + // and we have to manually call Espresso now. + Log.d("KAKAO_VIEW", "$interaction is performing $action") + interaction.perform(action) + } + } + } + } + } +} +``` +For more detailed info please refer to the documentation. + ### Setup Maven ```xml com.agoda.kakao kakao - 2.0.0 + 2.1.0 pom ``` @@ -209,24 +271,22 @@ or Gradle: repositories { jcenter() } -dependencies { - // For Gradle Version below 3.0.0 - androidTestCompile 'com.agoda.kakao:kakao:2.0.0' - // For Gradle Version 3.0.0 or above - androidTestImplementation 'com.agoda.kakao:kakao:2.0.0' +dependencies { + androidTestImplementation 'com.agoda.kakao:kakao:2.1.0' } ``` ### AndroidX Default artifact starting from `2.0.0` includes AndroidX libraries to build upon. If you're still using -old support libraries, please use `2.0.0-support` artifact. +old support libraries, please use `2.X.X-support` artifact. ``` dependencies { - androidTestImplementation 'com.agoda.kakao:kakao:2.0.0-support' + androidTestImplementation 'com.agoda.kakao:kakao:2.1.0-support' } ``` -We will move to AndroidX dependencies in the major release as soon as Google will publish stable release. +**IMPORTANT:** We stop the development for the `-support` artifact and version `2.1.0-support` is the +latest version available with usage of support libraries. Please consider migrating to AndroidX. ### Contribution Policy @@ -245,8 +305,8 @@ Kakao is open source and available under the [Apache License, Version 2.0](https ### Thanks to * [Unlimity](https://github.com/Unlimity) - **Ilya Lim** -* [VerachadW](https://github.com/VerachadW) - **Verachad Wongsawangtham** -* [Сdsap](https://github.com/cdsap) - **Inaki Villar** * [Vacxe](https://github.com/Vacxe) - **Konstantin Aksenov** +* [Сdsap](https://github.com/cdsap) - **Inaki Villar** +* [VerachadW](https://github.com/VerachadW) - **Verachad Wongsawangtham** * [JuDrummer](https://github.com/judrummer) - **Tipatai Puthanukunkit** diff --git a/buildsystem/dependencies.gradle b/buildsystem/dependencies.gradle index c57a3da2..1a226999 100644 --- a/buildsystem/dependencies.gradle +++ b/buildsystem/dependencies.gradle @@ -1,7 +1,7 @@ ext.versions = [ - kotlin : '1.3.21', - dokka : '0.9.17', - android_gradle : '3.3.1', + kotlin : '1.3.41', + dokka : '0.9.18', + android_gradle : '3.4.2', bintray : '1.7.3', maven : '1.5', oss : '4.5.4', @@ -47,8 +47,8 @@ ext.kakao = [ artifact : 'kakao', name : 'kakao', description : 'Kotlin based DSL for fluent AT with Espresso', - version : "2.0.0$alias", - version_desc : "Kakao 2.0.0$alias", + version : "2.1.0$alias", + version_desc : "Kakao 2.1.0$alias", site : 'https://github.com/agoda-com/Kakao', github : 'https://github.com/agoda-com/Kakao.git' ] diff --git a/buildsystem/dokka.gradle b/buildsystem/dokka.gradle index 0efccb00..81d2efaf 100644 --- a/buildsystem/dokka.gradle +++ b/buildsystem/dokka.gradle @@ -3,5 +3,6 @@ apply plugin: 'org.jetbrains.dokka-android' dokka { moduleName = 'kakao' outputFormat = 'gfm' + jdkVersion = 6 outputDirectory = "$rootDir/docs/" } \ No newline at end of file diff --git a/docs/kakao/alltypes/index.md b/docs/kakao/alltypes/index.md index 0b90d7b9..ca2a2192 100644 --- a/docs/kakao/alltypes/index.md +++ b/docs/kakao/alltypes/index.md @@ -4,6 +4,9 @@ | Name | Summary | |---|---| +| [com.agoda.kakao.list.AbsListViewAdapterActions](../com.agoda.kakao.list/-abs-list-view-adapter-actions/index.md) | | +| [com.agoda.kakao.list.AbsListViewAdapterAssertions](../com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md) | Provides assertions for AbsListView adapter | +| [com.agoda.kakao.common.matchers.AbsListViewAdapterSizeMatcher](../com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/index.md) | Matches AbsListView with count of children | | [com.agoda.kakao.intent.ActivityResultBuilder](../com.agoda.kakao.intent/-activity-result-builder/index.md) | Class for building ActivityResult | | [com.agoda.kakao.common.assertions.AdapterAssertions](../com.agoda.kakao.common.assertions/-adapter-assertions/index.md) | Provides assertions for view with adapters | | [com.agoda.kakao.common.matchers.AnyTextMatcher](../com.agoda.kakao.common.matchers/-any-text-matcher/index.md) | Matches TextView views which contains any text | @@ -17,28 +20,39 @@ | [com.agoda.kakao.check.CheckableAssertions](../com.agoda.kakao.check/-checkable-assertions/index.md) | Provides checkable based assertions for views | | [com.agoda.kakao.intent.ComponentNameBuilder](../com.agoda.kakao.intent/-component-name-builder/index.md) | Class for building ComponentName matchers | | [com.agoda.kakao.list.DataBuilder](../com.agoda.kakao.list/-data-builder/index.md) | Class for building data matchers | +| [com.agoda.kakao.delegate.DataInteractionDelegate](../com.agoda.kakao.delegate/-data-interaction-delegate/index.md) | Delegation class for [DataInteraction](#). Wraps all available public calls and intercepts [check](../com.agoda.kakao.delegate/-data-interaction-delegate/check.md) and [perform](../com.agoda.kakao.delegate/-data-interaction-delegate/perform.md). | +| [com.agoda.kakao.picker.date.DatePickerAction](../com.agoda.kakao.picker.date/-date-picker-action/index.md) | Provides actions for date picker | +| [com.agoda.kakao.picker.date.DatePickerAssertion](../com.agoda.kakao.picker.date/-date-picker-assertion/index.md) | Provides assertions for date picker | +| [com.agoda.kakao.delegate.Delegate](../com.agoda.kakao.delegate/-delegate/index.md) | Base delegate interface. | | [com.agoda.kakao.common.matchers.DrawableMatcher](../com.agoda.kakao.common.matchers/-drawable-matcher/index.md) | Matches given drawable with current one | | [com.agoda.kakao.drawer.DrawerActions](../com.agoda.kakao.drawer/-drawer-actions/index.md) | Provides actions for navigation drawer | -| [com.agoda.kakao.edit.EditableAssertions](../com.agoda.kakao.edit/-editable-assertions/index.md) | Provides editable based assertions for views | +| [com.agoda.kakao.edit.EditableActions](../com.agoda.kakao.edit/-editable-actions/index.md) | Provides editable actions for views | | [com.agoda.kakao.common.matchers.FirstViewMatcher](../com.agoda.kakao.common.matchers/-first-view-matcher/index.md) | Matches first view | | [com.agoda.kakao.image.ImageViewAssertions](../com.agoda.kakao.image/-image-view-assertions/index.md) | Provides assertion for image views | | [com.agoda.kakao.common.matchers.IndexMatcher](../com.agoda.kakao.common.matchers/-index-matcher/index.md) | Matches index'th view that matches given matcher | | [com.agoda.kakao.intent.IntentBuilder](../com.agoda.kakao.intent/-intent-builder/index.md) | Class for building Intent matchers | +| [com.agoda.kakao.intercept.Interceptable](../com.agoda.kakao.intercept/-interceptable/index.md) | | +| [com.agoda.kakao.intercept.Interception](../com.agoda.kakao.intercept/-interception/index.md) | | +| [com.agoda.kakao.intercept.Interceptor](../com.agoda.kakao.intercept/-interceptor/index.md) | Base class for intercepting the call chain from Kakao to Espresso. | | [com.agoda.kakao.common.matchers.ItemMatcher](../com.agoda.kakao.common.matchers/-item-matcher/index.md) | Matches first RecyclerView descendant which matches specific matcher | -| [com.agoda.kakao.list.KAdapterItem](../com.agoda.kakao.list/-k-adapter-item/index.md) | Base class for KRecyclerView adapter items | +| [com.agoda.kakao.list.KAbsListView](../com.agoda.kakao.list/-k-abs-list-view/index.md) | View with ScrollViewActions and BaseAssertions. Gives access to it's children | +| [com.agoda.kakao.list.KAdapterItem](../com.agoda.kakao.list/-k-adapter-item/index.md) | Base class for KAbsListView adapter items | | [com.agoda.kakao.list.KAdapterItemType](../com.agoda.kakao.list/-k-adapter-item-type/index.md) | For internal use. Don't use manually. | | [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.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 | | [com.agoda.kakao.check.KCheckBox](../com.agoda.kakao.check/-k-check-box/index.md) | View with CheckableActions, CheckableAssertions and TextViewAssertions | +| [com.agoda.kakao.picker.date.KDatePicker](../com.agoda.kakao.picker.date/-k-date-picker/index.md) | View for interact with default date picker | +| [com.agoda.kakao.picker.date.KDatePickerDialog](../com.agoda.kakao.picker.date/-k-date-picker-dialog/index.md) | View for interact with default date picker dialog | | [com.agoda.kakao.drawer.KDrawerView](../com.agoda.kakao.drawer/-k-drawer-view/index.md) | View with DrawerActions and BaseAssertions | -| [com.agoda.kakao.edit.KEditText](../com.agoda.kakao.edit/-k-edit-text/index.md) | View with EditableActions and EditableAssertions | +| [com.agoda.kakao.edit.KEditText](../com.agoda.kakao.edit/-k-edit-text/index.md) | View with EditableActions and TextViewAssertions | | [com.agoda.kakao.list.KEmptyAdapterItem](../com.agoda.kakao.list/-k-empty-adapter-item/index.md) | Empty implementation of KAdapterItem | | [com.agoda.kakao.recycler.KEmptyRecyclerItem](../com.agoda.kakao.recycler/-k-empty-recycler-item/index.md) | Empty implementation of KRecyclerItem | | [com.agoda.kakao.image.KImageView](../com.agoda.kakao.image/-k-image-view/index.md) | View with BaseActions and ImageViewAssertions | | [com.agoda.kakao.intent.KIntent](../com.agoda.kakao.intent/-k-intent/index.md) | This class is intended to be used when you need to check if some intent has been sent or to mock specific intent with result | -| [com.agoda.kakao.list.KListView](../com.agoda.kakao.list/-k-list-view/index.md) | View with ScrollViewActions and BaseAssertions. Gives access to it's children | | [com.agoda.kakao.navigation.KNavigationView](../com.agoda.kakao.navigation/-k-navigation-view/index.md) | View with NavigationViewActions and NavigationViewAssertions | | [com.agoda.kakao.progress.KProgressBar](../com.agoda.kakao.progress/-k-progress-bar/index.md) | View with ProgressBarActions and ProgressBarAssertions | | [com.agoda.kakao.rating.KRatingBar](../com.agoda.kakao.rating/-k-rating-bar/index.md) | View with RatingBarActions and RatingBarAssertions | @@ -46,6 +60,7 @@ | [com.agoda.kakao.recycler.KRecyclerItemType](../com.agoda.kakao.recycler/-k-recycler-item-type/index.md) | For internal use. Don't use manually. | | [com.agoda.kakao.recycler.KRecyclerItemTypeBuilder](../com.agoda.kakao.recycler/-k-recycler-item-type-builder/index.md) | Class that maps types to providing functions | | [com.agoda.kakao.recycler.KRecyclerView](../com.agoda.kakao.recycler/-k-recycler-view/index.md) | View with RecyclerActions, BaseAssertions and RecyclerAdapterAssertions. Gives access to it's children | +| [com.agoda.kakao.scroll.KScrollView](../com.agoda.kakao.scroll/-k-scroll-view/index.md) | View with ScrollViewActions and BaseAssertions | | [com.agoda.kakao.progress.KSeekBar](../com.agoda.kakao.progress/-k-seek-bar/index.md) | View with SeekBarActions and ProgressBarAssertions | | [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 | @@ -53,12 +68,11 @@ | [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 | +| [com.agoda.kakao.picker.time.KTimePicker](../com.agoda.kakao.picker.time/-k-time-picker/index.md) | View for interact with default time picker | +| [com.agoda.kakao.picker.time.KTimePickerDialog](../com.agoda.kakao.picker.time/-k-time-picker-dialog/index.md) | View for interact with default date picker dialog | | [com.agoda.kakao.common.views.KView](../com.agoda.kakao.common.views/-k-view/index.md) | Simple view with BaseActions and BaseAssertions | | [com.agoda.kakao.pager.KViewPager](../com.agoda.kakao.pager/-k-view-pager/index.md) | View with SwipeableActions and ViewPagerAssertions | | [com.agoda.kakao.web.KWebView](../com.agoda.kakao.web/-k-web-view/index.md) | Class for interacting with WebViews | -| [com.agoda.kakao.common.KakaoDslMarker](../com.agoda.kakao.common/-kakao-dsl-marker/index.md) | | -| [com.agoda.kakao.list.ListViewAdapterAssertions](../com.agoda.kakao.list/-list-view-adapter-assertions/index.md) | Provides assertions for listView adapter | -| [com.agoda.kakao.common.matchers.ListViewAdapterSizeMatcher](../com.agoda.kakao.common.matchers/-list-view-adapter-size-matcher/index.md) | Matches ListView with count of children | | [com.agoda.kakao.common.matchers.NavigationItemMatcher](../com.agoda.kakao.common.matchers/-navigation-item-matcher/index.md) | Matches NavigationView with given item id checked | | [com.agoda.kakao.navigation.NavigationViewActions](../com.agoda.kakao.navigation/-navigation-view-actions/index.md) | Provides actions for navigation view | | [com.agoda.kakao.navigation.NavigationViewAssertions](../com.agoda.kakao.navigation/-navigation-view-assertions/index.md) | Provides assertions for NavigationView | @@ -77,13 +91,13 @@ | [com.agoda.kakao.common.builders.RootBuilder](../com.agoda.kakao.common.builders/-root-builder/index.md) | Class for building root matchers | | [com.agoda.kakao.screen.Screen](../com.agoda.kakao.screen/-screen/index.md) | Container class for UI elements. | | [com.agoda.kakao.screen.ScreenActions](../com.agoda.kakao.screen/-screen-actions/index.md) | Interface with common actions for all screens | -| [com.agoda.kakao.list.ScrollViewActions](../com.agoda.kakao.list/-scroll-view-actions/index.md) | Provides ScrollableActions implementation for ScrollView | | [com.agoda.kakao.common.actions.ScrollableActions](../com.agoda.kakao.common.actions/-scrollable-actions/index.md) | Provides scrolling actions for view | +| [com.agoda.kakao.scroll.ScrollViewActions](../com.agoda.kakao.scroll/-scroll-view-actions/index.md) | Provides ScrollableActions implementation for ScrollView | | [com.agoda.kakao.progress.SeekBarActions](../com.agoda.kakao.progress/-seek-bar-actions/index.md) | Provides action for SeekBar | +| [com.agoda.kakao.common.actions.SwipeableActions](../com.agoda.kakao.common.actions/-swipeable-actions/index.md) | Provides swipe actions for views | | [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.common.actions.SwipeableActions](../com.agoda.kakao.common.actions/-swipeable-actions/index.md) | Provides swipe actions for views | | [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 | @@ -92,9 +106,13 @@ | [com.agoda.kakao.common.matchers.TextInputLayoutHintEnabledMatcher](../com.agoda.kakao.common.matchers/-text-input-layout-hint-enabled-matcher/index.md) | | | [com.agoda.kakao.text.TextViewActions](../com.agoda.kakao.text/-text-view-actions/index.md) | Provides actions for TextViews | | [com.agoda.kakao.text.TextViewAssertions](../com.agoda.kakao.text/-text-view-assertions/index.md) | Provides text based assertions for views | +| [com.agoda.kakao.picker.time.TimePickerAction](../com.agoda.kakao.picker.time/-time-picker-action/index.md) | Provides actions for time picker | +| [com.agoda.kakao.picker.time.TimePickerAssertion](../com.agoda.kakao.picker.time/-time-picker-assertion/index.md) | Provides assertions for time picker | | [com.agoda.kakao.intent.UriBuilder](../com.agoda.kakao.intent/-uri-builder/index.md) | Class for building Uri matchers | | [com.agoda.kakao.common.builders.ViewBuilder](../com.agoda.kakao.common.builders/-view-builder/index.md) | Class for building view matchers and interactions | +| [com.agoda.kakao.delegate.ViewInteractionDelegate](../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | Delegation class for [ViewInteraction](#). Wraps all available public calls and intercepts [check](../com.agoda.kakao.delegate/-view-interaction-delegate/check.md) and [perform](../com.agoda.kakao.delegate/-view-interaction-delegate/perform.md). | | [com.agoda.kakao.pager.ViewPagerAssertions](../com.agoda.kakao.pager/-view-pager-assertions/index.md) | Provides assertions for view pagers | | [com.agoda.kakao.web.WebActions](../com.agoda.kakao.web/-web-actions/index.md) | Provides action for interacting with WebViews | | [com.agoda.kakao.web.WebAssertions](../com.agoda.kakao.web/-web-assertions/index.md) | Interface that provides assertions for WebViews | | [com.agoda.kakao.web.WebElementBuilder](../com.agoda.kakao.web/-web-element-builder/index.md) | Class for building WebView element matchers | +| [com.agoda.kakao.delegate.WebInteractionDelegate](../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) | Delegation class for [Web.WebInteraction](#). Wraps all available public calls and intercepts [check](../com.agoda.kakao.delegate/-web-interaction-delegate/check.md) and [perform](../com.agoda.kakao.delegate/-web-interaction-delegate/perform.md). | diff --git a/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-actions/index.md b/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-actions/index.md index feacc34f..8bed1f9c 100644 --- a/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-actions/index.md +++ b/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-actions/index.md @@ -10,7 +10,7 @@ Provides actions for BottomNavigationView | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-assertions/index.md b/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-assertions/index.md index 0b38bdcb..1603eeac 100644 --- a/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.bottomnav/-bottom-navigation-view-assertions/index.md @@ -11,7 +11,7 @@ Provides assertion for BottomNavigationview | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -34,7 +34,11 @@ Provides assertion for BottomNavigationview | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md b/docs/kakao/com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md index 3eb74326..6820bd5e 100644 --- a/docs/kakao/com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md +++ b/docs/kakao/com.agoda.kakao.bottomnav/-k-bottom-navigation-view/index.md @@ -23,7 +23,7 @@ View for acting and asserting on BottomNavigationView | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.check/-checkable-actions/index.md b/docs/kakao/com.agoda.kakao.check/-checkable-actions/index.md index cf2f51cf..5808b7d4 100644 --- a/docs/kakao/com.agoda.kakao.check/-checkable-actions/index.md +++ b/docs/kakao/com.agoda.kakao.check/-checkable-actions/index.md @@ -10,7 +10,7 @@ Provides action for checking views | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.check/-checkable-assertions/index.md b/docs/kakao/com.agoda.kakao.check/-checkable-assertions/index.md index 3cc5c8c1..0a79d88b 100644 --- a/docs/kakao/com.agoda.kakao.check/-checkable-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.check/-checkable-assertions/index.md @@ -11,7 +11,7 @@ Provides checkable based assertions for views | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -35,7 +35,11 @@ Provides checkable based assertions for views | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.check/-k-check-box/index.md b/docs/kakao/com.agoda.kakao.check/-k-check-box/index.md index ea2a5219..fdb419b9 100644 --- a/docs/kakao/com.agoda.kakao.check/-k-check-box/index.md +++ b/docs/kakao/com.agoda.kakao.check/-k-check-box/index.md @@ -25,7 +25,7 @@ View with CheckableActions, CheckableAssertions and TextViewAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 @@ -35,6 +35,7 @@ View with CheckableActions, CheckableAssertions and TextViewAssertions | [hasAnyText](../../com.agoda.kakao.text/-text-view-assertions/has-any-text.md) | `open fun hasAnyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has any text | | [hasContentDescription](../../com.agoda.kakao.text/-text-view-assertions/has-content-description.md) | `open fun hasContentDescription(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)
Checks if the view has given content description | | [hasEmptyText](../../com.agoda.kakao.text/-text-view-assertions/has-empty-text.md) | `open fun hasEmptyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view have not any text | +| [hasHint](../../com.agoda.kakao.text/-text-view-assertions/has-hint.md) | `open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasHint(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given hint | | [hasNoText](../../com.agoda.kakao.text/-text-view-assertions/has-no-text.md) | `open fun hasNoText(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)
`open fun hasNoText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view does not have a given text | | [hasText](../../com.agoda.kakao.text/-text-view-assertions/has-text.md) | `open fun hasText(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)
`open fun hasText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text`open fun hasText(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has text that matches given matcher | | [hasTextColor](../../com.agoda.kakao.text/-text-view-assertions/has-text-color.md) | `open fun hasTextColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text color | diff --git a/docs/kakao/com.agoda.kakao.common.actions/-base-actions/index.md b/docs/kakao/com.agoda.kakao.common.actions/-base-actions/index.md index 43b827dc..956274f2 100644 --- a/docs/kakao/com.agoda.kakao.common.actions/-base-actions/index.md +++ b/docs/kakao/com.agoda.kakao.common.actions/-base-actions/index.md @@ -10,19 +10,19 @@ Provides a lot of basic action methods, such as click(), scrollTo(), etc. **See Also** -[EditableActions](#) +[com.agoda.kakao.edit.EditableActions](../../com.agoda.kakao.edit/-editable-actions/index.md) -[SwipeableActions](../-swipeable-actions/index.md) +[com.agoda.kakao.common.actions.SwipeableActions](../-swipeable-actions/index.md) -[ScrollableActions](../-scrollable-actions/index.md) +[com.agoda.kakao.common.actions.ScrollableActions](../-scrollable-actions/index.md) -[CheckableActions](#) +[com.agoda.kakao.check.CheckableActions](../../com.agoda.kakao.check/-checkable-actions/index.md) ### Properties | Name | Summary | |---|---| -| [view](view.md) | `abstract val view: ViewInteraction` | +| [view](view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -43,11 +43,13 @@ Provides a lot of basic action methods, such as click(), scrollTo(), etc. |---|---| | [BottomNavigationViewActions](../../com.agoda.kakao.bottomnav/-bottom-navigation-view-actions/index.md) | `interface BottomNavigationViewActions : `[`BaseActions`](./index.md)
Provides actions for BottomNavigationView | | [CheckableActions](../../com.agoda.kakao.check/-checkable-actions/index.md) | `interface CheckableActions : `[`BaseActions`](./index.md)
Provides action for checking views | +| [DatePickerAction](../../com.agoda.kakao.picker.date/-date-picker-action/index.md) | `interface DatePickerAction : `[`BaseActions`](./index.md)
Provides actions for date picker | +| [DatePickerAssertion](../../com.agoda.kakao.picker.date/-date-picker-assertion/index.md) | `interface DatePickerAssertion : `[`BaseActions`](./index.md)
Provides assertions for date picker | | [DrawerActions](../../com.agoda.kakao.drawer/-drawer-actions/index.md) | `interface DrawerActions : `[`BaseActions`](./index.md)
Provides actions for navigation drawer | | [EditableActions](../../com.agoda.kakao.edit/-editable-actions/index.md) | `interface EditableActions : `[`BaseActions`](./index.md)
Provides editable actions for views | -| [KAdapterItem](../../com.agoda.kakao.list/-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Base class for KRecyclerView adapter items | -| [KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Base class for all Kakao views | -| [KRecyclerItem](../../com.agoda.kakao.recycler/-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Base class for KRecyclerView adapter items | +| [KAdapterItem](../../com.agoda.kakao.list/-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for KAbsListView adapter items | +| [KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for all Kakao views | +| [KRecyclerItem](../../com.agoda.kakao.recycler/-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for KRecyclerView adapter items | | [NavigationViewActions](../../com.agoda.kakao.navigation/-navigation-view-actions/index.md) | `interface NavigationViewActions : `[`BaseActions`](./index.md)
Provides actions for navigation view | | [ProgressBarActions](../../com.agoda.kakao.progress/-progress-bar-actions/index.md) | `interface ProgressBarActions : `[`BaseActions`](./index.md)
Provides action for ProgressBar | | [RatingBarActions](../../com.agoda.kakao.rating/-rating-bar-actions/index.md) | `interface RatingBarActions : `[`BaseActions`](./index.md)
Provides action for RatingBar | @@ -55,3 +57,5 @@ Provides a lot of basic action methods, such as click(), scrollTo(), etc. | [SwipeableActions](../-swipeable-actions/index.md) | `interface SwipeableActions : `[`BaseActions`](./index.md)
Provides swipe actions for views | | [TabLayoutActions](../../com.agoda.kakao.tabs/-tab-layout-actions/index.md) | `interface TabLayoutActions : `[`BaseActions`](./index.md)
Provides action for TabLayout | | [TextViewActions](../../com.agoda.kakao.text/-text-view-actions/index.md) | `interface TextViewActions : `[`BaseActions`](./index.md)
Provides actions for TextViews | +| [TimePickerAction](../../com.agoda.kakao.picker.time/-time-picker-action/index.md) | `interface TimePickerAction : `[`BaseActions`](./index.md)
Provides actions for time picker | +| [TimePickerAssertion](../../com.agoda.kakao.picker.time/-time-picker-assertion/index.md) | `interface TimePickerAssertion : `[`BaseActions`](./index.md)
Provides assertions for time picker | diff --git a/docs/kakao/com.agoda.kakao.common.actions/-base-actions/view.md b/docs/kakao/com.agoda.kakao.common.actions/-base-actions/view.md index e8b25cb6..ffd368da 100644 --- a/docs/kakao/com.agoda.kakao.common.actions/-base-actions/view.md +++ b/docs/kakao/com.agoda.kakao.common.actions/-base-actions/view.md @@ -2,4 +2,4 @@ # view -`abstract val view: ViewInteraction` \ No newline at end of file +`abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.actions/-scrollable-actions/index.md b/docs/kakao/com.agoda.kakao.common.actions/-scrollable-actions/index.md index cf724092..8697a5ab 100644 --- a/docs/kakao/com.agoda.kakao.common.actions/-scrollable-actions/index.md +++ b/docs/kakao/com.agoda.kakao.common.actions/-scrollable-actions/index.md @@ -10,15 +10,15 @@ Important: does not hold any implementation **See Also** -[RecyclerActions](#) +[com.agoda.kakao.recycler.RecyclerActions](../../com.agoda.kakao.recycler/-recycler-actions/index.md) -[ScrollViewActions](#) +[com.agoda.kakao.scroll.ScrollViewActions](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md) ### Inherited Properties | Name | Summary | |---|---| -| [view](../-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -46,4 +46,4 @@ Important: does not hold any implementation | Name | Summary | |---|---| | [RecyclerActions](../../com.agoda.kakao.recycler/-recycler-actions/index.md) | `interface RecyclerActions : `[`ScrollableActions`](./index.md)`, `[`SwipeableActions`](../-swipeable-actions/index.md)
Provides ScrollableActions implementation for RecyclerView | -| [ScrollViewActions](../../com.agoda.kakao.list/-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](./index.md)`, `[`SwipeableActions`](../-swipeable-actions/index.md)
Provides ScrollableActions implementation for ScrollView | +| [ScrollViewActions](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](./index.md)`, `[`SwipeableActions`](../-swipeable-actions/index.md)
Provides ScrollableActions implementation for ScrollView | diff --git a/docs/kakao/com.agoda.kakao.common.actions/-swipeable-actions/index.md b/docs/kakao/com.agoda.kakao.common.actions/-swipeable-actions/index.md index 12914d0e..dac002c6 100644 --- a/docs/kakao/com.agoda.kakao.common.actions/-swipeable-actions/index.md +++ b/docs/kakao/com.agoda.kakao.common.actions/-swipeable-actions/index.md @@ -10,7 +10,7 @@ Provides swipe actions for views | Name | Summary | |---|---| -| [view](../-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -41,5 +41,5 @@ Provides swipe actions for views | [KSwipeView](../../com.agoda.kakao.common.views/-k-swipe-view/index.md) | `class KSwipeView : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KSwipeView`](../../com.agoda.kakao.common.views/-k-swipe-view/index.md)`>, `[`SwipeableActions`](./index.md)
View with SwipeableActions and BaseAssertions | | [KViewPager](../../com.agoda.kakao.pager/-k-view-pager/index.md) | `class KViewPager : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KViewPager`](../../com.agoda.kakao.pager/-k-view-pager/index.md)`>, `[`SwipeableActions`](./index.md)`, `[`ViewPagerAssertions`](../../com.agoda.kakao.pager/-view-pager-assertions/index.md)
View with SwipeableActions and ViewPagerAssertions | | [RecyclerActions](../../com.agoda.kakao.recycler/-recycler-actions/index.md) | `interface RecyclerActions : `[`ScrollableActions`](../-scrollable-actions/index.md)`, `[`SwipeableActions`](./index.md)
Provides ScrollableActions implementation for RecyclerView | -| [ScrollViewActions](../../com.agoda.kakao.list/-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](../-scrollable-actions/index.md)`, `[`SwipeableActions`](./index.md)
Provides ScrollableActions implementation for ScrollView | +| [ScrollViewActions](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](../-scrollable-actions/index.md)`, `[`SwipeableActions`](./index.md)
Provides ScrollableActions implementation for ScrollView | | [SwipeRefreshLayoutActions](../../com.agoda.kakao.swiperefresh/-swipe-refresh-layout-actions/index.md) | `interface SwipeRefreshLayoutActions : `[`SwipeableActions`](./index.md)
Provides actions for SwipeRefreshLayout | diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/index.md b/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/index.md index 076ef96d..aeabe8a7 100644 --- a/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/index.md @@ -8,17 +8,19 @@ Provides assertions for view with adapters **See Also** -[RecyclerAdapterAssertions](#) +[com.agoda.kakao.recycler.RecyclerAdapterAssertions](../../com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md) + +[com.agoda.kakao.list.AbsListViewAdapterAssertions](../../com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md) ### Properties | Name | Summary | |---|---| -| [view](view.md) | `abstract val view: ViewInteraction` | +| [view](view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Inheritors | Name | Summary | |---|---| -| [ListViewAdapterAssertions](../../com.agoda.kakao.list/-list-view-adapter-assertions/index.md) | `interface ListViewAdapterAssertions : `[`AdapterAssertions`](./index.md)
Provides assertions for listView adapter | +| [AbsListViewAdapterAssertions](../../com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md) | `interface AbsListViewAdapterAssertions : `[`AdapterAssertions`](./index.md)
Provides assertions for AbsListView adapter | | [RecyclerAdapterAssertions](../../com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md) | `interface RecyclerAdapterAssertions : `[`AdapterAssertions`](./index.md)
Provides assertions for recyclerView adapter | diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/view.md b/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/view.md index eea3fefd..912b0e04 100644 --- a/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/view.md +++ b/docs/kakao/com.agoda.kakao.common.assertions/-adapter-assertions/view.md @@ -2,4 +2,4 @@ # view -`abstract val view: ViewInteraction` \ No newline at end of file +`abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/index.md b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/index.md index c7296fbe..ecc90498 100644 --- a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/index.md @@ -10,22 +10,20 @@ Provides basic assertions that can be performed on any view **See Also** -[TextViewAssertions](#) +[com.agoda.kakao.text.TextViewAssertions](../../com.agoda.kakao.text/-text-view-assertions/index.md) -[EditableAssertions](#) +[com.agoda.kakao.check.CheckableAssertions](../../com.agoda.kakao.check/-checkable-assertions/index.md) -[CheckableAssertions](#) +[com.agoda.kakao.pager.ViewPagerAssertions](../../com.agoda.kakao.pager/-view-pager-assertions/index.md) -[ViewPagerAssertions](#) - -[ImageViewAssertions](#) +[com.agoda.kakao.image.ImageViewAssertions](../../com.agoda.kakao.image/-image-view-assertions/index.md) ### Properties | Name | Summary | |---|---| | [root](root.md) | `abstract var root: Matcher` | -| [view](view.md) | `abstract val view: ViewInteraction` | +| [view](view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -42,7 +40,11 @@ Provides basic assertions that can be performed on any view | [hasTag](has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | @@ -68,11 +70,12 @@ Provides basic assertions that can be performed on any view | [BottomNavigationViewAssertions](../../com.agoda.kakao.bottomnav/-bottom-navigation-view-assertions/index.md) | `interface BottomNavigationViewAssertions : `[`BaseAssertions`](./index.md)
Provides assertion for BottomNavigationview | | [CheckableAssertions](../../com.agoda.kakao.check/-checkable-assertions/index.md) | `interface CheckableAssertions : `[`BaseAssertions`](./index.md)
Provides checkable based assertions for views | | [ImageViewAssertions](../../com.agoda.kakao.image/-image-view-assertions/index.md) | `interface ImageViewAssertions : `[`BaseAssertions`](./index.md)
Provides assertion for image views | -| [KAdapterItem](../../com.agoda.kakao.list/-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](./index.md)
Base class for KRecyclerView adapter items | -| [KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](./index.md)
Base class for all Kakao views | -| [KListView](../../com.agoda.kakao.list/-k-list-view/index.md) | `class KListView : `[`ScrollViewActions`](../../com.agoda.kakao.list/-scroll-view-actions/index.md)`, `[`BaseAssertions`](./index.md)`, `[`ListViewAdapterAssertions`](../../com.agoda.kakao.list/-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | -| [KRecyclerItem](../../com.agoda.kakao.recycler/-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](./index.md)
Base class for KRecyclerView adapter items | +| [KAbsListView](../../com.agoda.kakao.list/-k-abs-list-view/index.md) | `class KAbsListView : `[`ScrollViewActions`](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`AbsListViewAdapterActions`](../../com.agoda.kakao.list/-abs-list-view-adapter-actions/index.md)`, `[`BaseAssertions`](./index.md)`, `[`AbsListViewAdapterAssertions`](../../com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | +| [KAdapterItem](../../com.agoda.kakao.list/-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](./index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for KAbsListView adapter items | +| [KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](./index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for all Kakao views | +| [KRecyclerItem](../../com.agoda.kakao.recycler/-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](./index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for KRecyclerView adapter items | | [KRecyclerView](../../com.agoda.kakao.recycler/-k-recycler-view/index.md) | `class KRecyclerView : `[`RecyclerActions`](../../com.agoda.kakao.recycler/-recycler-actions/index.md)`, `[`BaseAssertions`](./index.md)`, `[`RecyclerAdapterAssertions`](../../com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md)
View with RecyclerActions, BaseAssertions and RecyclerAdapterAssertions. Gives access to it's children | +| [KScrollView](../../com.agoda.kakao.scroll/-k-scroll-view/index.md) | `class KScrollView : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KScrollView`](../../com.agoda.kakao.scroll/-k-scroll-view/index.md)`>, `[`ScrollViewActions`](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`BaseAssertions`](./index.md)
View with ScrollViewActions and BaseAssertions | | [NavigationViewAssertions](../../com.agoda.kakao.navigation/-navigation-view-assertions/index.md) | `interface NavigationViewAssertions : `[`BaseAssertions`](./index.md)
Provides assertions for NavigationView | | [ProgressBarAssertions](../../com.agoda.kakao.progress/-progress-bar-assertions/index.md) | `interface ProgressBarAssertions : `[`BaseAssertions`](./index.md)
Provides assertions for progress bar | | [RatingBarAssertions](../../com.agoda.kakao.rating/-rating-bar-assertions/index.md) | `interface RatingBarAssertions : `[`BaseAssertions`](./index.md)
Provides assertions for RatingBar | diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md new file mode 100644 index 00000000..40287a35 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.assertions](../index.md) / [BaseAssertions](index.md) / [isCompletelyAbove](./is-completely-above.md) + +# isCompletelyAbove + +`open fun isCompletelyAbove(function: `[`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) + +Checks if the view displayed is completely above of the view matching the given matcher. + +### Parameters + +`function` - ViewBuilder that will result in matcher \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md new file mode 100644 index 00000000..954daa75 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.assertions](../index.md) / [BaseAssertions](index.md) / [isCompletelyBelow](./is-completely-below.md) + +# isCompletelyBelow + +`open fun isCompletelyBelow(function: `[`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) + +Checks if the view displayed is completely below of the view matching the given matcher. + +### Parameters + +`function` - ViewBuilder that will result in matcher \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md new file mode 100644 index 00000000..4a116efe --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.assertions](../index.md) / [BaseAssertions](index.md) / [isCompletelyLeftOf](./is-completely-left-of.md) + +# isCompletelyLeftOf + +`open fun isCompletelyLeftOf(function: `[`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) + +Checks if the view displayed is completely right of the view matching the given matcher. + +### Parameters + +`function` - ViewBuilder that will result in matcher \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md new file mode 100644 index 00000000..0d67eba3 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.assertions](../index.md) / [BaseAssertions](index.md) / [isCompletelyRightOf](./is-completely-right-of.md) + +# isCompletelyRightOf + +`open fun isCompletelyRightOf(function: `[`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) + +Checks if the view displayed is completely right of the view matching the given matcher. + +### Parameters + +`function` - ViewBuilder that will result in matcher \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/view.md b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/view.md index a0825a1c..7d4b7f1a 100644 --- a/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/view.md +++ b/docs/kakao/com.agoda.kakao.common.assertions/-base-assertions/view.md @@ -2,4 +2,4 @@ # view -`abstract val view: ViewInteraction` \ No newline at end of file +`abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/get-view-interaction-delegate.md b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/get-view-interaction-delegate.md new file mode 100644 index 00000000..aaf198ca --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/get-view-interaction-delegate.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.builders](../index.md) / [ViewBuilder](index.md) / [getViewInteractionDelegate](./get-view-interaction-delegate.md) + +# getViewInteractionDelegate + +`fun getViewInteractionDelegate(): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) + +Returns view interaction delegate based on all given matchers + +**Return** +ViewInteractionDelegate + diff --git a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/index.md b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/index.md index 7e83bbcb..5299290e 100644 --- a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/index.md +++ b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/index.md @@ -25,7 +25,7 @@ and after that all of them will be combined with help of AllOf.allOf() | Name | Summary | |---|---| | [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)
Matches the view which contain given text | -| [getViewInteraction](get-view-interaction.md) | `fun getViewInteraction(): ViewInteraction`
Returns view interaction based on all given matchers | +| [getViewInteractionDelegate](get-view-interaction-delegate.md) | `fun getViewInteractionDelegate(): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)
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)`>`
Returns combined view matcher with AllOf.allOf() | | [isClickable](is-clickable.md) | `fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
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)
Matches the view that is completely displayed | @@ -47,14 +47,14 @@ and after that all of them will be combined with help of AllOf.allOf() | [withClassName](with-class-name.md) | `fun withClassName(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view which class name matches given matcher | | [withContentDescription](with-content-description.md) | `fun withContentDescription(description: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun withContentDescription(resourceId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given content description | | [withDescendant](with-descendant.md) | `fun withDescendant(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)
Matches the view which has descendant of given matcher | -| [withDrawable](with-drawable.md) | `fun withDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun withDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given drawable | +| [withDrawable](with-drawable.md) | `fun withDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun withDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given drawable | | [withId](with-id.md) | `fun withId(id: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given resource id | | [withIndex](with-index.md) | `fun withIndex(index: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, 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)
Matches only view at given [index](with-index.md#com.agoda.kakao.common.builders.ViewBuilder$withIndex(kotlin.Int, kotlin.Function1((com.agoda.kakao.common.builders.ViewBuilder, kotlin.Unit)))/index), if there are multiple views that matches | | [withMatcher](with-matcher.md) | `fun withMatcher(matcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given custom matcher | +| [withoutText](without-text.md) | `fun withoutText(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)
`fun withoutText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches if the view does not have a given text | | [withParent](with-parent.md) | `fun withParent(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)
Matches the view which has parent with given matcher | | [withRating](with-rating.md) | `fun withRating(rating: `[`Float`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-float/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view which is RatingBar with given value | | [withResourceName](with-resource-name.md) | `fun withResourceName(name: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given resource name`fun withResourceName(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view by resource name with given matcher | | [withSibling](with-sibling.md) | `fun withSibling(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)
Matches the view which has sibling of given matcher | | [withTag](with-tag.md) | `fun withTag(tag: `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given tag assigned | | [withText](with-text.md) | `fun withText(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)
`fun withText(textId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given text`fun withText(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches the view with given text matcher | -| [withoutText](without-text.md) | `fun withoutText(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)
`fun withoutText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches if the view does not have a given text | diff --git a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-drawable.md b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-drawable.md index eea9be5a..42481602 100644 --- a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-drawable.md +++ b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-drawable.md @@ -2,7 +2,7 @@ # withDrawable -`fun withDrawable(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) +`fun withDrawable(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) Matches the view with given drawable @@ -10,7 +10,7 @@ Matches the view with given drawable `resId` - Drawable resource to match -`toBitmap` - Lambda with custom Drawable -> Bitmap converter (default is null)`fun withDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) +`toBitmap` - Lambda with custom Drawable -> Bitmap converter (default is null)`fun withDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) Matches the view with given drawable diff --git a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-index.md b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-index.md index 90bd8ccc..cf060df2 100644 --- a/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-index.md +++ b/docs/kakao/com.agoda.kakao.common.builders/-view-builder/with-index.md @@ -8,7 +8,7 @@ Matches only view at given [index](with-index.md#com.agoda.kakao.common.builders IMPORTANT: this matcher is single-use only, since it does not reset it's index counter due to specific espresso's matching process. Thus only one action -and/or assertion can be performed on such a [KView](#). +and/or assertion can be performed on such a [KView](../../com.agoda.kakao.common.views/-k-view/index.md). If you need to match view with index multiple times, each time you should match with new instance of [withIndex](./with-index.md) diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/-init-.md b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/-init-.md new file mode 100644 index 00000000..52917430 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/-init-.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [AbsListViewAdapterSizeMatcher](index.md) / [<init>](./-init-.md) + +# <init> + +`AbsListViewAdapterSizeMatcher(size: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` + +Matches AbsListView with count of children + +### Parameters + +`size` - of children count in AbsListView \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/describe-to.md b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/describe-to.md new file mode 100644 index 00000000..12e3b231 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/describe-to.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [AbsListViewAdapterSizeMatcher](index.md) / [describeTo](./describe-to.md) + +# describeTo + +`fun describeTo(description: Description): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/index.md b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/index.md new file mode 100644 index 00000000..285d902b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/index.md @@ -0,0 +1,24 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [AbsListViewAdapterSizeMatcher](./index.md) + +# AbsListViewAdapterSizeMatcher + +`class AbsListViewAdapterSizeMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`AbsListView`](https://developer.android.com/reference/android/widget/AbsListView.html)`>` + +Matches AbsListView with count of children + +### Parameters + +`size` - of children count in AbsListView + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `AbsListViewAdapterSizeMatcher(size: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)`
Matches AbsListView with count of children | + +### Functions + +| Name | Summary | +|---|---| +| [describeTo](describe-to.md) | `fun describeTo(description: Description): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | +| [matchesSafely](matches-safely.md) | `fun matchesSafely(view: `[`AbsListView`](https://developer.android.com/reference/android/widget/AbsListView.html)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/matches-safely.md b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/matches-safely.md new file mode 100644 index 00000000..7995255d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-abs-list-view-adapter-size-matcher/matches-safely.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [AbsListViewAdapterSizeMatcher](index.md) / [matchesSafely](./matches-safely.md) + +# matchesSafely + +`protected fun matchesSafely(view: `[`AbsListView`](https://developer.android.com/reference/android/widget/AbsListView.html)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/-init-.md b/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/-init-.md index 45267ee5..0b5f9b8f 100644 --- a/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/-init-.md +++ b/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/-init-.md @@ -2,7 +2,7 @@ # <init> -`DrawableMatcher(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = -1, drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`? = null, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null)` +`DrawableMatcher(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = -1, drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`? = null, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null)` Matches given drawable with current one diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/index.md b/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/index.md index 45459eee..babe9d77 100644 --- a/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/index.md +++ b/docs/kakao/com.agoda.kakao.common.matchers/-drawable-matcher/index.md @@ -18,7 +18,7 @@ Matches given drawable with current one | Name | Summary | |---|---| -| [<init>](-init-.md) | `DrawableMatcher(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = -1, drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`? = null, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null)`
Matches given drawable with current one | +| [<init>](-init-.md) | `DrawableMatcher(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)` = -1, drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`? = null, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null)`
Matches given drawable with current one | ### Functions diff --git a/docs/kakao/com.agoda.kakao.common.matchers/index.md b/docs/kakao/com.agoda.kakao.common.matchers/index.md index 1844f94d..6dbabd43 100644 --- a/docs/kakao/com.agoda.kakao.common.matchers/index.md +++ b/docs/kakao/com.agoda.kakao.common.matchers/index.md @@ -6,13 +6,13 @@ | Name | Summary | |---|---| +| [AbsListViewAdapterSizeMatcher](-abs-list-view-adapter-size-matcher/index.md) | `class AbsListViewAdapterSizeMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`AbsListView`](https://developer.android.com/reference/android/widget/AbsListView.html)`>`
Matches AbsListView with count of children | | [AnyTextMatcher](-any-text-matcher/index.md) | `class AnyTextMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`TextView`](https://developer.android.com/reference/android/widget/TextView.html)`>`
Matches TextView views which contains any text | | [BackgroundColorMatcher](-background-color-matcher/index.md) | `class BackgroundColorMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches given background color with the current one | | [DrawableMatcher](-drawable-matcher/index.md) | `class DrawableMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches given drawable with current one | | [FirstViewMatcher](-first-view-matcher/index.md) | `class FirstViewMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches first view | | [IndexMatcher](-index-matcher/index.md) | `class IndexMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches index'th view that matches given matcher | | [ItemMatcher](-item-matcher/index.md) | `class ItemMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches first RecyclerView descendant which matches specific matcher | -| [ListViewAdapterSizeMatcher](-list-view-adapter-size-matcher/index.md) | `class ListViewAdapterSizeMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`ListView`](https://developer.android.com/reference/android/widget/ListView.html)`>`
Matches ListView with count of children | | [NavigationItemMatcher](-navigation-item-matcher/index.md) | `class NavigationItemMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, NavigationView>`
Matches NavigationView with given item id checked | | [PageMatcher](-page-matcher/index.md) | `class PageMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, ViewPager>`
Matches ViewPager which page index equals given | | [PositionMatcher](-position-matcher/index.md) | `class PositionMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches RecyclerView descendant at given position in adapter | diff --git a/docs/kakao/com.agoda.kakao.common.views/-k-base-view/index.md b/docs/kakao/com.agoda.kakao.common.views/-k-base-view/index.md index 43e948c0..2e55fff4 100644 --- a/docs/kakao/com.agoda.kakao.common.views/-k-base-view/index.md +++ b/docs/kakao/com.agoda.kakao.common.views/-k-base-view/index.md @@ -2,7 +2,7 @@ # KBaseView -`open class KBaseView : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md) +`open class KBaseView : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)`` Base class for all Kakao views @@ -25,7 +25,7 @@ actions/assertions interfaces and override necessary constructors | Name | Summary | |---|---| | [root](root.md) | `open var root: Matcher` | -| [view](view.md) | `open val view: ViewInteraction` | +| [view](view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -51,8 +51,13 @@ actions/assertions interfaces and override necessary constructors | [hasSibling](../../com.agoda.kakao.common.assertions/-base-assertions/has-sibling.md) | `open fun hasSibling(function: `[`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)
Checks if the view has given sibling | | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | +| [intercept](../../com.agoda.kakao.intercept/-interceptable/intercept.md) | `open fun intercept(builder: `[`Interceptor.Builder`](../../com.agoda.kakao.intercept/-interceptor/-builder/index.md)`<`[`INTERACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#INTERACTION)`, `[`ASSERTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ASSERTION)`, `[`ACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ACTION)`>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView. | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | @@ -74,6 +79,7 @@ actions/assertions interfaces and override necessary constructors | [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)
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)
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)
Repeats given action on the view until this view will match the given matcher | +| [reset](../../com.agoda.kakao.intercept/-interceptable/reset.md) | `open fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the instance. | | [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)
Scrolls to the view, if possible | ### Inheritors @@ -83,12 +89,15 @@ actions/assertions interfaces and override necessary constructors | [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)
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)
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)
View with CheckableActions, CheckableAssertions and TextViewAssertions | +| [KDatePicker](../../com.agoda.kakao.picker.date/-k-date-picker/index.md) | `class KDatePicker : `[`KBaseView`](./index.md)`<`[`KDatePicker`](../../com.agoda.kakao.picker.date/-k-date-picker/index.md)`>, `[`DatePickerAction`](../../com.agoda.kakao.picker.date/-date-picker-action/index.md)`, `[`DatePickerAssertion`](../../com.agoda.kakao.picker.date/-date-picker-assertion/index.md)
View for interact with default date picker | +| [KDatePickerDialog](../../com.agoda.kakao.picker.date/-k-date-picker-dialog/index.md) | `class KDatePickerDialog : `[`KBaseView`](./index.md)`<`[`KDatePickerDialog`](../../com.agoda.kakao.picker.date/-k-date-picker-dialog/index.md)`>`
View for interact with default date picker dialog | | [KDrawerView](../../com.agoda.kakao.drawer/-k-drawer-view/index.md) | `class KDrawerView : `[`KBaseView`](./index.md)`<`[`KDrawerView`](../../com.agoda.kakao.drawer/-k-drawer-view/index.md)`>, `[`DrawerActions`](../../com.agoda.kakao.drawer/-drawer-actions/index.md)
View with DrawerActions and BaseAssertions | -| [KEditText](../../com.agoda.kakao.edit/-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](./index.md)`<`[`KEditText`](../../com.agoda.kakao.edit/-k-edit-text/index.md)`>, `[`EditableActions`](../../com.agoda.kakao.edit/-editable-actions/index.md)`, `[`EditableAssertions`](../../com.agoda.kakao.edit/-editable-assertions/index.md)
View with EditableActions and EditableAssertions | +| [KEditText](../../com.agoda.kakao.edit/-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](./index.md)`<`[`KEditText`](../../com.agoda.kakao.edit/-k-edit-text/index.md)`>, `[`EditableActions`](../../com.agoda.kakao.edit/-editable-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)
View with EditableActions and TextViewAssertions | | [KImageView](../../com.agoda.kakao.image/-k-image-view/index.md) | `class KImageView : `[`KBaseView`](./index.md)`<`[`KImageView`](../../com.agoda.kakao.image/-k-image-view/index.md)`>, `[`ImageViewAssertions`](../../com.agoda.kakao.image/-image-view-assertions/index.md)
View with BaseActions and ImageViewAssertions | | [KNavigationView](../../com.agoda.kakao.navigation/-k-navigation-view/index.md) | `class KNavigationView : `[`KBaseView`](./index.md)`<`[`KNavigationView`](../../com.agoda.kakao.navigation/-k-navigation-view/index.md)`>, `[`NavigationViewActions`](../../com.agoda.kakao.navigation/-navigation-view-actions/index.md)`, `[`NavigationViewAssertions`](../../com.agoda.kakao.navigation/-navigation-view-assertions/index.md)
View with NavigationViewActions and NavigationViewAssertions | | [KProgressBar](../../com.agoda.kakao.progress/-k-progress-bar/index.md) | `class KProgressBar : `[`KBaseView`](./index.md)`<`[`KProgressBar`](../../com.agoda.kakao.progress/-k-progress-bar/index.md)`>, `[`ProgressBarActions`](../../com.agoda.kakao.progress/-progress-bar-actions/index.md)`, `[`ProgressBarAssertions`](../../com.agoda.kakao.progress/-progress-bar-assertions/index.md)
View with ProgressBarActions and ProgressBarAssertions | | [KRatingBar](../../com.agoda.kakao.rating/-k-rating-bar/index.md) | `class KRatingBar : `[`KBaseView`](./index.md)`<`[`KRatingBar`](../../com.agoda.kakao.rating/-k-rating-bar/index.md)`>, `[`RatingBarActions`](../../com.agoda.kakao.rating/-rating-bar-actions/index.md)`, `[`RatingBarAssertions`](../../com.agoda.kakao.rating/-rating-bar-assertions/index.md)
View with RatingBarActions and RatingBarAssertions | +| [KScrollView](../../com.agoda.kakao.scroll/-k-scroll-view/index.md) | `class KScrollView : `[`KBaseView`](./index.md)`<`[`KScrollView`](../../com.agoda.kakao.scroll/-k-scroll-view/index.md)`>, `[`ScrollViewActions`](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)
View with ScrollViewActions and BaseAssertions | | [KSeekBar](../../com.agoda.kakao.progress/-k-seek-bar/index.md) | `class KSeekBar : `[`KBaseView`](./index.md)`<`[`KSeekBar`](../../com.agoda.kakao.progress/-k-seek-bar/index.md)`>, `[`SeekBarActions`](../../com.agoda.kakao.progress/-seek-bar-actions/index.md)`, `[`ProgressBarAssertions`](../../com.agoda.kakao.progress/-progress-bar-assertions/index.md)
View with SeekBarActions and ProgressBarAssertions | | [KSnackbar](../../com.agoda.kakao.text/-k-snackbar/index.md) | `class KSnackbar : `[`KBaseView`](./index.md)`<`[`KSnackbar`](../../com.agoda.kakao.text/-k-snackbar/index.md)`>`
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)
View with SwipeRefreshLayoutActions and SwipeRefreshLayoutAssertions | @@ -96,5 +105,7 @@ actions/assertions interfaces and override necessary constructors | [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)
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)
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)
View with BaseActions and TextViewAssertions | +| [KTimePicker](../../com.agoda.kakao.picker.time/-k-time-picker/index.md) | `class KTimePicker : `[`KBaseView`](./index.md)`<`[`KTimePicker`](../../com.agoda.kakao.picker.time/-k-time-picker/index.md)`>, `[`TimePickerAction`](../../com.agoda.kakao.picker.time/-time-picker-action/index.md)`, `[`TimePickerAssertion`](../../com.agoda.kakao.picker.time/-time-picker-assertion/index.md)
View for interact with default time picker | +| [KTimePickerDialog](../../com.agoda.kakao.picker.time/-k-time-picker-dialog/index.md) | `class KTimePickerDialog : `[`KBaseView`](./index.md)`<`[`KTimePickerDialog`](../../com.agoda.kakao.picker.time/-k-time-picker-dialog/index.md)`>`
View for interact with default date picker dialog | | [KView](../-k-view/index.md) | `class KView : `[`KBaseView`](./index.md)`<`[`KView`](../-k-view/index.md)`>`
Simple view with BaseActions and BaseAssertions | | [KViewPager](../../com.agoda.kakao.pager/-k-view-pager/index.md) | `class KViewPager : `[`KBaseView`](./index.md)`<`[`KViewPager`](../../com.agoda.kakao.pager/-k-view-pager/index.md)`>, `[`SwipeableActions`](../../com.agoda.kakao.common.actions/-swipeable-actions/index.md)`, `[`ViewPagerAssertions`](../../com.agoda.kakao.pager/-view-pager-assertions/index.md)
View with SwipeableActions and ViewPagerAssertions | diff --git a/docs/kakao/com.agoda.kakao.common.views/-k-base-view/view.md b/docs/kakao/com.agoda.kakao.common.views/-k-base-view/view.md index 6f12342a..b0d18505 100644 --- a/docs/kakao/com.agoda.kakao.common.views/-k-base-view/view.md +++ b/docs/kakao/com.agoda.kakao.common.views/-k-base-view/view.md @@ -2,9 +2,11 @@ # view -`open val view: ViewInteraction` +`open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) Overrides [BaseActions.view](../../com.agoda.kakao.common.actions/-base-actions/view.md) Overrides [BaseAssertions.view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) +Overrides [Interceptable.view](../../com.agoda.kakao.intercept/-interceptable/view.md) + diff --git a/docs/kakao/com.agoda.kakao.common.views/-k-swipe-view/index.md b/docs/kakao/com.agoda.kakao.common.views/-k-swipe-view/index.md index d32f081c..b2b8cf47 100644 --- a/docs/kakao/com.agoda.kakao.common.views/-k-swipe-view/index.md +++ b/docs/kakao/com.agoda.kakao.common.views/-k-swipe-view/index.md @@ -23,7 +23,7 @@ View with SwipeableActions and BaseAssertions | Name | Summary | |---|---| | [root](../-k-base-view/root.md) | `open var root: Matcher` | -| [view](../-k-base-view/view.md) | `open val view: ViewInteraction` | +| [view](../-k-base-view/view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Inherited Functions diff --git a/docs/kakao/com.agoda.kakao.common.views/-k-view/index.md b/docs/kakao/com.agoda.kakao.common.views/-k-view/index.md index 4bb73f39..a5cdc2b8 100644 --- a/docs/kakao/com.agoda.kakao.common.views/-k-view/index.md +++ b/docs/kakao/com.agoda.kakao.common.views/-k-view/index.md @@ -23,7 +23,7 @@ Simple view with BaseActions and BaseAssertions | Name | Summary | |---|---| | [root](../-k-base-view/root.md) | `open var root: Matcher` | -| [view](../-k-base-view/view.md) | `open val view: ViewInteraction` | +| [view](../-k-base-view/view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Inherited Functions diff --git a/docs/kakao/com.agoda.kakao.common.views/index.md b/docs/kakao/com.agoda.kakao.common.views/index.md index 581e5edd..11cc09ef 100644 --- a/docs/kakao/com.agoda.kakao.common.views/index.md +++ b/docs/kakao/com.agoda.kakao.common.views/index.md @@ -6,6 +6,6 @@ | Name | Summary | |---|---| -| [KBaseView](-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Base class for all Kakao views | +| [KBaseView](-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for all Kakao views | | [KSwipeView](-k-swipe-view/index.md) | `class KSwipeView : `[`KBaseView`](-k-base-view/index.md)`<`[`KSwipeView`](-k-swipe-view/index.md)`>, `[`SwipeableActions`](../com.agoda.kakao.common.actions/-swipeable-actions/index.md)
View with SwipeableActions and BaseAssertions | | [KView](-k-view/index.md) | `class KView : `[`KBaseView`](-k-base-view/index.md)`<`[`KView`](-k-view/index.md)`>`
Simple view with BaseActions and BaseAssertions | diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/-init-.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/-init-.md new file mode 100644 index 00000000..6a64af49 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/-init-.md @@ -0,0 +1,15 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [<init>](./-init-.md) + +# <init> + +`DataInteractionDelegate(interaction: DataInteraction)` + +Delegation class for [DataInteraction](#). +Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). + +**See Also** + +[Delegate](../-delegate/index.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/at-position.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/at-position.md new file mode 100644 index 00000000..e6810fd6 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/at-position.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [atPosition](./at-position.md) + +# atPosition + +`@Contract("_->this") fun atPosition(atPosition: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`DataInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/check.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/check.md new file mode 100644 index 00000000..8d109e09 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/check.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [check](./check.md) + +# check + +`fun check(viewAssert: ViewAssertion): `[`ViewInteractionDelegate`](../-view-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/in-adapter-view.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/in-adapter-view.md new file mode 100644 index 00000000..6af3b8a4 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/in-adapter-view.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [inAdapterView](./in-adapter-view.md) + +# inAdapterView + +`@Contract("_->this") fun inAdapterView(adapterMatcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`DataInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/in-root.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/in-root.md new file mode 100644 index 00000000..7aac3b95 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/in-root.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [inRoot](./in-root.md) + +# inRoot + +`@Contract("_->this") fun inRoot(rootMatcher: Matcher): `[`DataInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/index.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/index.md new file mode 100644 index 00000000..f9ccfc4d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/index.md @@ -0,0 +1,48 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](./index.md) + +# DataInteractionDelegate + +`class DataInteractionDelegate : `[`Delegate`](../-delegate/index.md)`` + +Delegation class for [DataInteraction](#). +Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). + +**See Also** + +[Delegate](../-delegate/index.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `DataInteractionDelegate(interaction: DataInteraction)`
Delegation class for [DataInteraction](#). Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). | + +### Properties + +| Name | Summary | +|---|---| +| [interaction](interaction.md) | `var interaction: DataInteraction` | +| [interceptor](interceptor.md) | `var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` | + +### Functions + +| Name | Summary | +|---|---| +| [atPosition](at-position.md) | `fun atPosition(atPosition: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`DataInteractionDelegate`](./index.md) | +| [check](check.md) | `fun check(viewAssert: ViewAssertion): `[`ViewInteractionDelegate`](../-view-interaction-delegate/index.md) | +| [inAdapterView](in-adapter-view.md) | `fun inAdapterView(adapterMatcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`DataInteractionDelegate`](./index.md) | +| [inRoot](in-root.md) | `fun inRoot(rootMatcher: Matcher): `[`DataInteractionDelegate`](./index.md) | +| [kakaoInterceptor](kakao-interceptor.md) | `fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` | +| [onChildView](on-child-view.md) | `fun onChildView(childMatcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`DataInteractionDelegate`](./index.md) | +| [perform](perform.md) | `fun perform(vararg viewActions: ViewAction): `[`ViewInteractionDelegate`](../-view-interaction-delegate/index.md) | +| [screenInterceptors](screen-interceptors.md) | `fun screenInterceptors(): `[`Deque`](https://developer.android.com/reference/java/util/Deque.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`>` | +| [usingAdapterViewProtocol](using-adapter-view-protocol.md) | `fun usingAdapterViewProtocol(adapterViewProtocol: AdapterViewProtocol): `[`DataInteractionDelegate`](./index.md) | + +### Inherited Functions + +| Name | Summary | +|---|---| +| [interceptCheck](../-delegate/intercept-check.md) | `open fun interceptCheck(assertion: `[`ASSERTION`](../-delegate/index.md#ASSERTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `check` operation. | +| [interceptPerform](../-delegate/intercept-perform.md) | `open fun interceptPerform(action: `[`ACTION`](../-delegate/index.md#ACTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `perform` operation. | diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/interaction.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/interaction.md new file mode 100644 index 00000000..3981d49f --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/interaction.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [interaction](./interaction.md) + +# interaction + +`var interaction: DataInteraction` + +Overrides [Delegate.interaction](../-delegate/interaction.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/interceptor.md new file mode 100644 index 00000000..b84066c6 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/interceptor.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [interceptor](./interceptor.md) + +# interceptor + +`var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` + +Overrides [Delegate.interceptor](../-delegate/interceptor.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/kakao-interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/kakao-interceptor.md new file mode 100644 index 00000000..818885d3 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/kakao-interceptor.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [kakaoInterceptor](./kakao-interceptor.md) + +# kakaoInterceptor + +`fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` + +Overrides [Delegate.kakaoInterceptor](../-delegate/kakao-interceptor.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/on-child-view.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/on-child-view.md new file mode 100644 index 00000000..ad3db4b9 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/on-child-view.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [onChildView](./on-child-view.md) + +# onChildView + +`@Contract("_->this") fun onChildView(childMatcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>): `[`DataInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/perform.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/perform.md new file mode 100644 index 00000000..fe4ee84b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/perform.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [perform](./perform.md) + +# perform + +`fun perform(vararg viewActions: ViewAction): `[`ViewInteractionDelegate`](../-view-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/screen-interceptors.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/screen-interceptors.md new file mode 100644 index 00000000..405fddb0 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/screen-interceptors.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [screenInterceptors](./screen-interceptors.md) + +# screenInterceptors + +`fun screenInterceptors(): `[`Deque`](https://developer.android.com/reference/java/util/Deque.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`>` + +Overrides [Delegate.screenInterceptors](../-delegate/screen-interceptors.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/using-adapter-view-protocol.md b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/using-adapter-view-protocol.md new file mode 100644 index 00000000..140b639d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-data-interaction-delegate/using-adapter-view-protocol.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [DataInteractionDelegate](index.md) / [usingAdapterViewProtocol](./using-adapter-view-protocol.md) + +# usingAdapterViewProtocol + +`@Contract("_->this") fun usingAdapterViewProtocol(adapterViewProtocol: AdapterViewProtocol): `[`DataInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/index.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/index.md new file mode 100644 index 00000000..3c06fa9d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/index.md @@ -0,0 +1,38 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](./index.md) + +# Delegate + +`interface Delegate` + +Base delegate interface. + +Provides functionality of aggregating interceptors and invoking them on `check` +and `perform` invocations. + +**See Also** + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + +### Properties + +| Name | Summary | +|---|---| +| [interaction](interaction.md) | `abstract var interaction: `[`INTERACTION`](index.md#INTERACTION) | +| [interceptor](interceptor.md) | `abstract var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>?` | + +### Functions + +| Name | Summary | +|---|---| +| [interceptCheck](intercept-check.md) | `open fun interceptCheck(assertion: `[`ASSERTION`](index.md#ASSERTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `check` operation. | +| [interceptPerform](intercept-perform.md) | `open fun interceptPerform(action: `[`ACTION`](index.md#ACTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `perform` operation. | +| [kakaoInterceptor](kakao-interceptor.md) | `abstract fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>?` | +| [screenInterceptors](screen-interceptors.md) | `abstract fun screenInterceptors(): `[`Iterable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>>` | + +### Inheritors + +| Name | Summary | +|---|---| +| [DataInteractionDelegate](../-data-interaction-delegate/index.md) | `class DataInteractionDelegate : `[`Delegate`](./index.md)``
Delegation class for [DataInteraction](#). Wraps all available public calls and intercepts [check](../-data-interaction-delegate/check.md) and [perform](../-data-interaction-delegate/perform.md). | +| [ViewInteractionDelegate](../-view-interaction-delegate/index.md) | `class ViewInteractionDelegate : `[`Delegate`](./index.md)``
Delegation class for [ViewInteraction](#). Wraps all available public calls and intercepts [check](../-view-interaction-delegate/check.md) and [perform](../-view-interaction-delegate/perform.md). | +| [WebInteractionDelegate](../-web-interaction-delegate/index.md) | `class WebInteractionDelegate : `[`Delegate`](./index.md)`, WebAssertion<*>, Atom<*>>`
Delegation class for [Web.WebInteraction](#). Wraps all available public calls and intercepts [check](../-web-interaction-delegate/check.md) and [perform](../-web-interaction-delegate/perform.md). | diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/interaction.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/interaction.md new file mode 100644 index 00000000..1fe9d0d1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/interaction.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](index.md) / [interaction](./interaction.md) + +# interaction + +`abstract var interaction: `[`INTERACTION`](index.md#INTERACTION) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/intercept-check.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/intercept-check.md new file mode 100644 index 00000000..3b344ff9 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/intercept-check.md @@ -0,0 +1,12 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](index.md) / [interceptCheck](./intercept-check.md) + +# interceptCheck + +`open fun interceptCheck(assertion: `[`ASSERTION`](index.md#ASSERTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +Runs the interceptors available for the given delegate during the `check` operation. + +**Return** +`true` if the call chain has been interrupted and there is no need to do Espresso call, + false otherwise. + diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/intercept-perform.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/intercept-perform.md new file mode 100644 index 00000000..cc2c9ee8 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/intercept-perform.md @@ -0,0 +1,12 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](index.md) / [interceptPerform](./intercept-perform.md) + +# interceptPerform + +`open fun interceptPerform(action: `[`ACTION`](index.md#ACTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) + +Runs the interceptors available for the given delegate during the `perform` operation. + +**Return** +`true` if the call chain has been interrupted and there is no need to do Espresso call, + false otherwise. + diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/interceptor.md new file mode 100644 index 00000000..7a3bb098 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/interceptor.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](index.md) / [interceptor](./interceptor.md) + +# interceptor + +`abstract var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/kakao-interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/kakao-interceptor.md new file mode 100644 index 00000000..2a82017f --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/kakao-interceptor.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](index.md) / [kakaoInterceptor](./kakao-interceptor.md) + +# kakaoInterceptor + +`abstract fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-delegate/screen-interceptors.md b/docs/kakao/com.agoda.kakao.delegate/-delegate/screen-interceptors.md new file mode 100644 index 00000000..6a0ea849 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-delegate/screen-interceptors.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [Delegate](index.md) / [screenInterceptors](./screen-interceptors.md) + +# screenInterceptors + +`abstract fun screenInterceptors(): `[`Iterable`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>>` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/-init-.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/-init-.md new file mode 100644 index 00000000..f8465234 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/-init-.md @@ -0,0 +1,15 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [<init>](./-init-.md) + +# <init> + +`ViewInteractionDelegate(interaction: ViewInteraction)` + +Delegation class for [ViewInteraction](#). +Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). + +**See Also** + +[Delegate](../-delegate/index.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/check.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/check.md new file mode 100644 index 00000000..279c17be --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/check.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [check](./check.md) + +# check + +`@Contract("_->this") fun check(viewAssert: ViewAssertion): `[`ViewInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/in-root.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/in-root.md new file mode 100644 index 00000000..e445f910 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/in-root.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [inRoot](./in-root.md) + +# inRoot + +`@Contract("_->this") fun inRoot(rootMatcher: Matcher): `[`ViewInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/index.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/index.md new file mode 100644 index 00000000..e38d1956 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/index.md @@ -0,0 +1,46 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](./index.md) + +# ViewInteractionDelegate + +`class ViewInteractionDelegate : `[`Delegate`](../-delegate/index.md)`` + +Delegation class for [ViewInteraction](#). +Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). + +**See Also** + +[Delegate](../-delegate/index.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `ViewInteractionDelegate(interaction: ViewInteraction)`
Delegation class for [ViewInteraction](#). Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). | + +### Properties + +| Name | Summary | +|---|---| +| [interaction](interaction.md) | `var interaction: ViewInteraction` | +| [interceptor](interceptor.md) | `var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` | + +### Functions + +| Name | Summary | +|---|---| +| [check](check.md) | `fun check(viewAssert: ViewAssertion): `[`ViewInteractionDelegate`](./index.md) | +| [inRoot](in-root.md) | `fun inRoot(rootMatcher: Matcher): `[`ViewInteractionDelegate`](./index.md) | +| [kakaoInterceptor](kakao-interceptor.md) | `fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` | +| [noActivity](no-activity.md) | `fun noActivity(): `[`ViewInteractionDelegate`](./index.md) | +| [perform](perform.md) | `fun perform(vararg viewActions: ViewAction): `[`ViewInteractionDelegate`](./index.md) | +| [screenInterceptors](screen-interceptors.md) | `fun screenInterceptors(): `[`Deque`](https://developer.android.com/reference/java/util/Deque.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`>` | +| [withFailureHandler](with-failure-handler.md) | `fun withFailureHandler(failureHandler: FailureHandler): `[`ViewInteractionDelegate`](./index.md) | + +### Inherited Functions + +| Name | Summary | +|---|---| +| [interceptCheck](../-delegate/intercept-check.md) | `open fun interceptCheck(assertion: `[`ASSERTION`](../-delegate/index.md#ASSERTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `check` operation. | +| [interceptPerform](../-delegate/intercept-perform.md) | `open fun interceptPerform(action: `[`ACTION`](../-delegate/index.md#ACTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `perform` operation. | diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/interaction.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/interaction.md new file mode 100644 index 00000000..babac92d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/interaction.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [interaction](./interaction.md) + +# interaction + +`var interaction: ViewInteraction` + +Overrides [Delegate.interaction](../-delegate/interaction.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/interceptor.md new file mode 100644 index 00000000..24a302bb --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/interceptor.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [interceptor](./interceptor.md) + +# interceptor + +`var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` + +Overrides [Delegate.interceptor](../-delegate/interceptor.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/kakao-interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/kakao-interceptor.md new file mode 100644 index 00000000..82708f49 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/kakao-interceptor.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [kakaoInterceptor](./kakao-interceptor.md) + +# kakaoInterceptor + +`fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`?` + +Overrides [Delegate.kakaoInterceptor](../-delegate/kakao-interceptor.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/no-activity.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/no-activity.md new file mode 100644 index 00000000..4928e2a0 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/no-activity.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [noActivity](./no-activity.md) + +# noActivity + +`@Contract("_->this") fun noActivity(): `[`ViewInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/perform.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/perform.md new file mode 100644 index 00000000..ab698c3a --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/perform.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [perform](./perform.md) + +# perform + +`@Contract("_->this") fun perform(vararg viewActions: ViewAction): `[`ViewInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/screen-interceptors.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/screen-interceptors.md new file mode 100644 index 00000000..eec0ccc7 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/screen-interceptors.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [screenInterceptors](./screen-interceptors.md) + +# screenInterceptors + +`fun screenInterceptors(): `[`Deque`](https://developer.android.com/reference/java/util/Deque.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`>` + +Overrides [Delegate.screenInterceptors](../-delegate/screen-interceptors.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/with-failure-handler.md b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/with-failure-handler.md new file mode 100644 index 00000000..4e7ba76d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-view-interaction-delegate/with-failure-handler.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [ViewInteractionDelegate](index.md) / [withFailureHandler](./with-failure-handler.md) + +# withFailureHandler + +`@Contract("_->this") fun withFailureHandler(failureHandler: FailureHandler): `[`ViewInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/-init-.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/-init-.md new file mode 100644 index 00000000..a53e723a --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/-init-.md @@ -0,0 +1,15 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [<init>](./-init-.md) + +# <init> + +`WebInteractionDelegate(interaction: WebInteraction<*>)` + +Delegation class for [Web.WebInteraction](#). +Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). + +**See Also** + +[Delegate](../-delegate/index.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/check.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/check.md new file mode 100644 index 00000000..75c92673 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/check.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [check](./check.md) + +# check + +`fun check(assertion: WebAssertion<*>): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/force-javascript-enabled.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/force-javascript-enabled.md new file mode 100644 index 00000000..ba8c249b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/force-javascript-enabled.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [forceJavascriptEnabled](./force-javascript-enabled.md) + +# forceJavascriptEnabled + +`fun forceJavascriptEnabled(): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/get.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/get.md new file mode 100644 index 00000000..5da4b9b0 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/get.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [get](./get.md) + +# get + +`fun get(): `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/in-window.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/in-window.md new file mode 100644 index 00000000..ee4d536c --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/in-window.md @@ -0,0 +1,6 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [inWindow](./in-window.md) + +# inWindow + +`fun inWindow(window: WindowReference): `[`WebInteractionDelegate`](index.md) +`fun inWindow(windowPicker: Atom): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/index.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/index.md new file mode 100644 index 00000000..b330ec07 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/index.md @@ -0,0 +1,51 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](./index.md) + +# WebInteractionDelegate + +`class WebInteractionDelegate : `[`Delegate`](../-delegate/index.md)`, WebAssertion<*>, Atom<*>>` + +Delegation class for [Web.WebInteraction](#). +Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). + +**See Also** + +[Delegate](../-delegate/index.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `WebInteractionDelegate(interaction: WebInteraction<*>)`
Delegation class for [Web.WebInteraction](#). Wraps all available public calls and intercepts [check](check.md) and [perform](perform.md). | + +### Properties + +| Name | Summary | +|---|---| +| [interaction](interaction.md) | `var interaction: WebInteraction<*>` | +| [interceptor](interceptor.md) | `var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`, WebAssertion<*>, Atom<*>>?` | + +### Functions + +| Name | Summary | +|---|---| +| [check](check.md) | `fun check(assertion: WebAssertion<*>): `[`WebInteractionDelegate`](./index.md) | +| [forceJavascriptEnabled](force-javascript-enabled.md) | `fun forceJavascriptEnabled(): `[`WebInteractionDelegate`](./index.md) | +| [get](get.md) | `fun get(): `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html) | +| [inWindow](in-window.md) | `fun inWindow(window: WindowReference): `[`WebInteractionDelegate`](./index.md)
`fun inWindow(windowPicker: Atom): `[`WebInteractionDelegate`](./index.md) | +| [kakaoInterceptor](kakao-interceptor.md) | `fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`, WebAssertion<*>, Atom<*>>?` | +| [perform](perform.md) | `fun perform(atom: Atom<*>): `[`WebInteractionDelegate`](./index.md) | +| [reset](reset.md) | `fun reset(): `[`WebInteractionDelegate`](./index.md) | +| [screenInterceptors](screen-interceptors.md) | `fun screenInterceptors(): `[`Deque`](https://developer.android.com/reference/java/util/Deque.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`, WebAssertion<*>, Atom<*>>>` | +| [withContextualElement](with-contextual-element.md) | `fun withContextualElement(elementPicker: Atom): `[`WebInteractionDelegate`](./index.md) | +| [withElement](with-element.md) | `fun withElement(element: ElementReference): `[`WebInteractionDelegate`](./index.md)
`fun withElement(elementPicker: Atom): `[`WebInteractionDelegate`](./index.md) | +| [withNoTimeout](with-no-timeout.md) | `fun withNoTimeout(): `[`WebInteractionDelegate`](./index.md) | +| [withTimeout](with-timeout.md) | `fun withTimeout(amount: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, unit: `[`TimeUnit`](https://developer.android.com/reference/java/util/concurrent/TimeUnit.html)`): `[`WebInteractionDelegate`](./index.md) | + +### Inherited Functions + +| Name | Summary | +|---|---| +| [interceptCheck](../-delegate/intercept-check.md) | `open fun interceptCheck(assertion: `[`ASSERTION`](../-delegate/index.md#ASSERTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `check` operation. | +| [interceptPerform](../-delegate/intercept-perform.md) | `open fun interceptPerform(action: `[`ACTION`](../-delegate/index.md#ACTION)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)
Runs the interceptors available for the given delegate during the `perform` operation. | diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/interaction.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/interaction.md new file mode 100644 index 00000000..b1ef9323 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/interaction.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [interaction](./interaction.md) + +# interaction + +`var interaction: WebInteraction<*>` + +Overrides [Delegate.interaction](../-delegate/interaction.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/interceptor.md new file mode 100644 index 00000000..ed35eac0 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/interceptor.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [interceptor](./interceptor.md) + +# interceptor + +`var interceptor: `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`, WebAssertion<*>, Atom<*>>?` + +Overrides [Delegate.interceptor](../-delegate/interceptor.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/kakao-interceptor.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/kakao-interceptor.md new file mode 100644 index 00000000..6d96623e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/kakao-interceptor.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [kakaoInterceptor](./kakao-interceptor.md) + +# kakaoInterceptor + +`fun kakaoInterceptor(): `[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`, WebAssertion<*>, Atom<*>>?` + +Overrides [Delegate.kakaoInterceptor](../-delegate/kakao-interceptor.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/perform.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/perform.md new file mode 100644 index 00000000..9a4caeca --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/perform.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [perform](./perform.md) + +# perform + +`fun perform(atom: Atom<*>): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/reset.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/reset.md new file mode 100644 index 00000000..f0c0d7e3 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/reset.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [reset](./reset.md) + +# reset + +`fun reset(): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/screen-interceptors.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/screen-interceptors.md new file mode 100644 index 00000000..1112639e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/screen-interceptors.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [screenInterceptors](./screen-interceptors.md) + +# screenInterceptors + +`fun screenInterceptors(): `[`Deque`](https://developer.android.com/reference/java/util/Deque.html)`<`[`Interceptor`](../../com.agoda.kakao.intercept/-interceptor/index.md)`, WebAssertion<*>, Atom<*>>>` + +Overrides [Delegate.screenInterceptors](../-delegate/screen-interceptors.md) + diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-contextual-element.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-contextual-element.md new file mode 100644 index 00000000..d5542408 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-contextual-element.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [withContextualElement](./with-contextual-element.md) + +# withContextualElement + +`fun withContextualElement(elementPicker: Atom): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-element.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-element.md new file mode 100644 index 00000000..d1bd1b7c --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-element.md @@ -0,0 +1,6 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [withElement](./with-element.md) + +# withElement + +`fun withElement(element: ElementReference): `[`WebInteractionDelegate`](index.md) +`fun withElement(elementPicker: Atom): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-no-timeout.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-no-timeout.md new file mode 100644 index 00000000..1550d256 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-no-timeout.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [withNoTimeout](./with-no-timeout.md) + +# withNoTimeout + +`fun withNoTimeout(): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-timeout.md b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-timeout.md new file mode 100644 index 00000000..4d191239 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/-web-interaction-delegate/with-timeout.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.delegate](../index.md) / [WebInteractionDelegate](index.md) / [withTimeout](./with-timeout.md) + +# withTimeout + +`fun withTimeout(amount: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)`, unit: `[`TimeUnit`](https://developer.android.com/reference/java/util/concurrent/TimeUnit.html)`): `[`WebInteractionDelegate`](index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.delegate/index.md b/docs/kakao/com.agoda.kakao.delegate/index.md new file mode 100644 index 00000000..24201f3b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.delegate/index.md @@ -0,0 +1,12 @@ +[kakao](../index.md) / [com.agoda.kakao.delegate](./index.md) + +## Package com.agoda.kakao.delegate + +### Types + +| Name | Summary | +|---|---| +| [DataInteractionDelegate](-data-interaction-delegate/index.md) | `class DataInteractionDelegate : `[`Delegate`](-delegate/index.md)``
Delegation class for [DataInteraction](#). Wraps all available public calls and intercepts [check](-data-interaction-delegate/check.md) and [perform](-data-interaction-delegate/perform.md). | +| [Delegate](-delegate/index.md) | `interface Delegate`
Base delegate interface. | +| [ViewInteractionDelegate](-view-interaction-delegate/index.md) | `class ViewInteractionDelegate : `[`Delegate`](-delegate/index.md)``
Delegation class for [ViewInteraction](#). Wraps all available public calls and intercepts [check](-view-interaction-delegate/check.md) and [perform](-view-interaction-delegate/perform.md). | +| [WebInteractionDelegate](-web-interaction-delegate/index.md) | `class WebInteractionDelegate : `[`Delegate`](-delegate/index.md)`, WebAssertion<*>, Atom<*>>`
Delegation class for [Web.WebInteraction](#). Wraps all available public calls and intercepts [check](-web-interaction-delegate/check.md) and [perform](-web-interaction-delegate/perform.md). | diff --git a/docs/kakao/com.agoda.kakao.drawer/-drawer-actions/index.md b/docs/kakao/com.agoda.kakao.drawer/-drawer-actions/index.md index 64fc1200..fd232a3d 100644 --- a/docs/kakao/com.agoda.kakao.drawer/-drawer-actions/index.md +++ b/docs/kakao/com.agoda.kakao.drawer/-drawer-actions/index.md @@ -10,7 +10,7 @@ Provides actions for navigation drawer | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.drawer/-k-drawer-view/index.md b/docs/kakao/com.agoda.kakao.drawer/-k-drawer-view/index.md index 1fe1d157..4b46d7ec 100644 --- a/docs/kakao/com.agoda.kakao.drawer/-k-drawer-view/index.md +++ b/docs/kakao/com.agoda.kakao.drawer/-k-drawer-view/index.md @@ -23,7 +23,7 @@ View with DrawerActions and BaseAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.edit/-editable-actions/index.md b/docs/kakao/com.agoda.kakao.edit/-editable-actions/index.md index 6d903ca7..0213b6ed 100644 --- a/docs/kakao/com.agoda.kakao.edit/-editable-actions/index.md +++ b/docs/kakao/com.agoda.kakao.edit/-editable-actions/index.md @@ -10,7 +10,7 @@ Provides editable actions for views | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -37,4 +37,4 @@ Provides editable actions for views | Name | Summary | |---|---| -| [KEditText](../-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](../-k-edit-text/index.md)`>, `[`EditableActions`](./index.md)`, `[`EditableAssertions`](../-editable-assertions/index.md)
View with EditableActions and EditableAssertions | +| [KEditText](../-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](../-k-edit-text/index.md)`>, `[`EditableActions`](./index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md)
View with EditableActions and TextViewAssertions | diff --git a/docs/kakao/com.agoda.kakao.edit/-k-edit-text/index.md b/docs/kakao/com.agoda.kakao.edit/-k-edit-text/index.md index 6ce92c46..1de9b0fa 100644 --- a/docs/kakao/com.agoda.kakao.edit/-k-edit-text/index.md +++ b/docs/kakao/com.agoda.kakao.edit/-k-edit-text/index.md @@ -2,15 +2,15 @@ # KEditText -`class KEditText : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](./index.md)`>, `[`EditableActions`](../-editable-actions/index.md)`, `[`EditableAssertions`](../-editable-assertions/index.md) +`class KEditText : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](./index.md)`>, `[`EditableActions`](../-editable-actions/index.md)`, `[`TextViewAssertions`](../../com.agoda.kakao.text/-text-view-assertions/index.md) -View with EditableActions and EditableAssertions +View with EditableActions and TextViewAssertions **See Also** [EditableActions](../-editable-actions/index.md) -[EditableAssertions](../-editable-assertions/index.md) +[TextViewAssertions](../../com.agoda.kakao.text/-text-view-assertions/index.md) ### Constructors @@ -23,15 +23,23 @@ View with EditableActions and EditableAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 | |---|---| | [clearText](../-editable-actions/clear-text.md) | `open fun clearText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Clears current text in the view | -| [hasHint](../-editable-assertions/has-hint.md) | `open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasHint(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given hint | +| [containsText](../../com.agoda.kakao.text/-text-view-assertions/contains-text.md) | `open 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)
Checks if the view contains given text | +| [hasAnyText](../../com.agoda.kakao.text/-text-view-assertions/has-any-text.md) | `open fun hasAnyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has any text | +| [hasContentDescription](../../com.agoda.kakao.text/-text-view-assertions/has-content-description.md) | `open fun hasContentDescription(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)
Checks if the view has given content description | +| [hasEmptyText](../../com.agoda.kakao.text/-text-view-assertions/has-empty-text.md) | `open fun hasEmptyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view have not any text | +| [hasHint](../../com.agoda.kakao.text/-text-view-assertions/has-hint.md) | `open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasHint(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given hint | +| [hasNoText](../../com.agoda.kakao.text/-text-view-assertions/has-no-text.md) | `open fun hasNoText(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)
`open fun hasNoText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view does not have a given text | +| [hasText](../../com.agoda.kakao.text/-text-view-assertions/has-text.md) | `open fun hasText(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)
`open fun hasText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text`open fun hasText(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has text that matches given matcher | +| [hasTextColor](../../com.agoda.kakao.text/-text-view-assertions/has-text-color.md) | `open fun hasTextColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text color | | [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)
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)
Infix function for invoking lambda on your view | | [replaceText](../-editable-actions/replace-text.md) | `open fun replaceText(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)
Replaces the current view text with given | +| [startsWithText](../../com.agoda.kakao.text/-text-view-assertions/starts-with-text.md) | `open fun startsWithText(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)
Checks if the view text start with given substring | | [typeText](../-editable-actions/type-text.md) | `open fun typeText(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)
Types the given text into the view | diff --git a/docs/kakao/com.agoda.kakao.edit/-k-text-input-layout/index.md b/docs/kakao/com.agoda.kakao.edit/-k-text-input-layout/index.md index 31d0eb75..d55de9e4 100644 --- a/docs/kakao/com.agoda.kakao.edit/-k-text-input-layout/index.md +++ b/docs/kakao/com.agoda.kakao.edit/-k-text-input-layout/index.md @@ -27,7 +27,7 @@ View with TextInputLayoutAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/index.md b/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/index.md index 68c6c389..a15e07f4 100644 --- a/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/index.md @@ -11,7 +11,7 @@ Provides assertions for TextInputLayout | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -42,7 +42,11 @@ Provides assertions for TextInputLayout | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.edit/index.md b/docs/kakao/com.agoda.kakao.edit/index.md index 17eb557f..8d5e15e0 100644 --- a/docs/kakao/com.agoda.kakao.edit/index.md +++ b/docs/kakao/com.agoda.kakao.edit/index.md @@ -7,7 +7,6 @@ | Name | Summary | |---|---| | [EditableActions](-editable-actions/index.md) | `interface EditableActions : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)
Provides editable actions for views | -| [EditableAssertions](-editable-assertions/index.md) | `interface EditableAssertions : `[`TextViewAssertions`](../com.agoda.kakao.text/-text-view-assertions/index.md)
Provides editable based assertions for views | -| [KEditText](-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](-k-edit-text/index.md)`>, `[`EditableActions`](-editable-actions/index.md)`, `[`EditableAssertions`](-editable-assertions/index.md)
View with EditableActions and EditableAssertions | +| [KEditText](-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](-k-edit-text/index.md)`>, `[`EditableActions`](-editable-actions/index.md)`, `[`TextViewAssertions`](../com.agoda.kakao.text/-text-view-assertions/index.md)
View with EditableActions and TextViewAssertions | | [KTextInputLayout](-k-text-input-layout/index.md) | `class KTextInputLayout : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTextInputLayout`](-k-text-input-layout/index.md)`>, `[`TextInputLayoutAssertions`](-text-input-layout-assertions/index.md)
View with TextInputLayoutAssertions | | [TextInputLayoutAssertions](-text-input-layout-assertions/index.md) | `interface TextInputLayoutAssertions : `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Provides assertions for TextInputLayout | diff --git a/docs/kakao/com.agoda.kakao.image/-image-view-assertions/has-drawable.md b/docs/kakao/com.agoda.kakao.image/-image-view-assertions/has-drawable.md index 934a958d..2349ac19 100644 --- a/docs/kakao/com.agoda.kakao.image/-image-view-assertions/has-drawable.md +++ b/docs/kakao/com.agoda.kakao.image/-image-view-assertions/has-drawable.md @@ -2,7 +2,7 @@ # hasDrawable -`open fun hasDrawable(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) +`open fun hasDrawable(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) Checks if the view displays given drawable @@ -10,7 +10,7 @@ Checks if the view displays given drawable `resId` - Drawable resource to be matched -`toBitmap` - Lambda with custom Drawable -> Bitmap converter (default is null)`open fun hasDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) +`toBitmap` - Lambda with custom Drawable -> Bitmap converter (default is null)`open fun hasDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) Checks if the view displays given drawable diff --git a/docs/kakao/com.agoda.kakao.image/-image-view-assertions/index.md b/docs/kakao/com.agoda.kakao.image/-image-view-assertions/index.md index 19c78b1a..48c0fccd 100644 --- a/docs/kakao/com.agoda.kakao.image/-image-view-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.image/-image-view-assertions/index.md @@ -11,13 +11,13 @@ Provides assertion for image views | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions | Name | Summary | |---|---| -| [hasDrawable](has-drawable.md) | `open fun hasDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view displays given drawable | +| [hasDrawable](has-drawable.md) | `open fun hasDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view displays given drawable | ### Inherited Functions @@ -34,7 +34,11 @@ Provides assertion for image views | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.image/-k-image-view/index.md b/docs/kakao/com.agoda.kakao.image/-k-image-view/index.md index ddead535..48c7bf4d 100644 --- a/docs/kakao/com.agoda.kakao.image/-k-image-view/index.md +++ b/docs/kakao/com.agoda.kakao.image/-k-image-view/index.md @@ -23,12 +23,12 @@ View with BaseActions and ImageViewAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 | |---|---| -| [hasDrawable](../-image-view-assertions/has-drawable.md) | `open fun hasDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: (drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)` = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view displays given drawable | +| [hasDrawable](../-image-view-assertions/has-drawable.md) | `open fun hasDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`, toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view displays given drawable | | [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)
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)
Infix function for invoking lambda on your view | diff --git a/docs/kakao/com.agoda.kakao.intent/-intent-builder/index.md b/docs/kakao/com.agoda.kakao.intent/-intent-builder/index.md index 5bb9a198..8368a424 100644 --- a/docs/kakao/com.agoda.kakao.intent/-intent-builder/index.md +++ b/docs/kakao/com.agoda.kakao.intent/-intent-builder/index.md @@ -24,8 +24,8 @@ Class for building Intent matchers | [hasComponent](has-component.md) | `fun hasComponent(className: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent which component has given class name`fun hasComponent(component: `[`ComponentName`](https://developer.android.com/reference/android/content/ComponentName.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasComponent(component: Matcher<`[`ComponentName`](https://developer.android.com/reference/android/content/ComponentName.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasComponent(function: `[`ComponentNameBuilder`](../-component-name-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)
Matches intent with given component | | [hasData](has-data.md) | `fun hasData(uri: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasData(uri: `[`Uri`](https://developer.android.com/reference/android/net/Uri.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasData(uri: Matcher<`[`Uri`](https://developer.android.com/reference/android/net/Uri.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasData(function: `[`UriBuilder`](../-uri-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)
Matches intent with given data | | [hasExtra](has-extra.md) | `fun hasExtra(key: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, value: `[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasExtra(key: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>, value: Matcher<`[`Any`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent with given extra | -| [hasExtraWithKey](has-extra-with-key.md) | `fun hasExtraWithKey(key: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasExtraWithKey(key: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent with given extra key | | [hasExtras](has-extras.md) | `fun hasExtras(extras: Matcher<`[`Bundle`](https://developer.android.com/reference/android/os/Bundle.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasExtras(function: `[`BundleBuilder`](../-bundle-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)
Matches intent with given extras | +| [hasExtraWithKey](has-extra-with-key.md) | `fun hasExtraWithKey(key: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasExtraWithKey(key: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent with given extra key | | [hasFlag](has-flag.md) | `fun hasFlag(flag: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent with given flag | | [hasFlags](has-flags.md) | `fun hasFlags(flags: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasFlags(vararg flags: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent with given flags | | [hasPackage](has-package.md) | `fun hasPackage(packageName: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`fun hasPackage(packageName: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Matches intent with given package | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptable/index.md b/docs/kakao/com.agoda.kakao.intercept/-interceptable/index.md new file mode 100644 index 00000000..eed222fe --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptable/index.md @@ -0,0 +1,27 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptable](./index.md) + +# Interceptable + +`interface Interceptable` + +### Properties + +| Name | Summary | +|---|---| +| [view](view.md) | `abstract val view: `[`Delegate`](../../com.agoda.kakao.delegate/-delegate/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>` | + +### Functions + +| Name | Summary | +|---|---| +| [intercept](intercept.md) | `open fun intercept(builder: `[`Interceptor.Builder`](../-interceptor/-builder/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView. | +| [reset](reset.md) | `open fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the instance. | + +### Inheritors + +| Name | Summary | +|---|---| +| [KAdapterItem](../../com.agoda.kakao.list/-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](./index.md)``
Base class for KAbsListView adapter items | +| [KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](./index.md)``
Base class for all Kakao views | +| [KRecyclerItem](../../com.agoda.kakao.recycler/-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](./index.md)``
Base class for KRecyclerView adapter items | +| [WebElementBuilder](../../com.agoda.kakao.web/-web-element-builder/index.md) | `class WebElementBuilder : `[`Interceptable`](./index.md)`, WebAssertion<*>, Atom<*>>`
Class for building WebView element matchers | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptable/intercept.md b/docs/kakao/com.agoda.kakao.intercept/-interceptable/intercept.md new file mode 100644 index 00000000..3b357617 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptable/intercept.md @@ -0,0 +1,17 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptable](index.md) / [intercept](./intercept.md) + +# intercept + +`open fun intercept(builder: `[`Interceptor.Builder`](../-interceptor/-builder/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Sets the interceptors for the instance. +Interceptors will be invoked on the interaction with the KView. + +### Parameters + +`builder` - Builder of the interceptors + +**See Also** + +[Interceptor](../-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptable/reset.md b/docs/kakao/com.agoda.kakao.intercept/-interceptable/reset.md new file mode 100644 index 00000000..62457d66 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptable/reset.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptable](index.md) / [reset](./reset.md) + +# reset + +`open fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Removes the interceptors from the instance. + diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptable/view.md b/docs/kakao/com.agoda.kakao.intercept/-interceptable/view.md new file mode 100644 index 00000000..0619c2bb --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptable/view.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptable](index.md) / [view](./view.md) + +# view + +`abstract val view: `[`Delegate`](../../com.agoda.kakao.delegate/-delegate/index.md)`<`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`, `[`ACTION`](index.md#ACTION)`>` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interception/-init-.md b/docs/kakao/com.agoda.kakao.intercept/-interception/-init-.md new file mode 100644 index 00000000..94134cf1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interception/-init-.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interception](index.md) / [<init>](./-init-.md) + +# <init> + +`Interception(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, interceptor: `[`T`](index.md#T)`)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interception/index.md b/docs/kakao/com.agoda.kakao.intercept/-interception/index.md new file mode 100644 index 00000000..5c3e7df5 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interception/index.md @@ -0,0 +1,18 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interception](./index.md) + +# Interception + +`data class Interception` + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `Interception(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`, interceptor: `[`T`](index.md#T)`)` | + +### Properties + +| Name | Summary | +|---|---| +| [interceptor](interceptor.md) | `val interceptor: `[`T`](index.md#T) | +| [isOverride](is-override.md) | `val isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interception/interceptor.md b/docs/kakao/com.agoda.kakao.intercept/-interception/interceptor.md new file mode 100644 index 00000000..34714c26 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interception/interceptor.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interception](index.md) / [interceptor](./interceptor.md) + +# interceptor + +`val interceptor: `[`T`](index.md#T) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interception/is-override.md b/docs/kakao/com.agoda.kakao.intercept/-interception/is-override.md new file mode 100644 index 00000000..2ee4027e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interception/is-override.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interception](index.md) / [isOverride](./is-override.md) + +# isOverride + +`val isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/-init-.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/-init-.md new file mode 100644 index 00000000..bc73c5c7 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/-init-.md @@ -0,0 +1,12 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Builder](index.md) / [<init>](./-init-.md) + +# <init> + +`Builder()` + +Builder class that is used to build a single instance of [Interceptor](../index.md). + +**See Also** + +[Interceptor](../index.md) + diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/index.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/index.md new file mode 100644 index 00000000..3c3e84f4 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/index.md @@ -0,0 +1,25 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Builder](./index.md) + +# Builder + +`class Builder` + +Builder class that is used to build a single instance of [Interceptor](../index.md). + +**See Also** + +[Interceptor](../index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `Builder()`
Builder class that is used to build a single instance of [Interceptor](../index.md). | + +### Functions + +| Name | Summary | +|---|---| +| [onAll](on-all.md) | `fun onAll(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, interceptor: (`[`INTERACTION`](index.md#INTERACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptor for the `check` and `perform` operations for a given interaction. If overridden, breaks the call chain of operation and transfers the responsibility to invoke the Espresso on the developer. | +| [onCheck](on-check.md) | `fun onCheck(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, interceptor: (`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptor for the `check` operation for a given interaction. If overridden, breaks the call chain of operation and transfers the responsibility to invoke the Espresso on the developer. | +| [onPerform](on-perform.md) | `fun onPerform(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, interceptor: (`[`INTERACTION`](index.md#INTERACTION)`, `[`ACTION`](index.md#ACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptor for the `perform` operation for a given interaction. If overridden, breaks the call chain of operation and transfers the responsibility to invoke the Espresso on the developer. | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-all.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-all.md new file mode 100644 index 00000000..ae6d503c --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-all.md @@ -0,0 +1,17 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Builder](index.md) / [onAll](./on-all.md) + +# onAll + +`fun onAll(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, interceptor: (`[`INTERACTION`](index.md#INTERACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Sets the interceptor for the `check` and `perform` operations for a given interaction. +If overridden, breaks the call chain of operation and transfers the responsibility +to invoke the Espresso on the developer. + +This interceptor is prioritized and is being invoked first for both operations. + +### Parameters + +`isOverride` - if `true` - breaks the call chain, false otherwise + +`interceptor` - lambda with intercepting logic \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-check.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-check.md new file mode 100644 index 00000000..3702b009 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-check.md @@ -0,0 +1,15 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Builder](index.md) / [onCheck](./on-check.md) + +# onCheck + +`fun onCheck(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, interceptor: (`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Sets the interceptor for the `check` operation for a given interaction. +If overridden, breaks the call chain of operation and transfers the responsibility +to invoke the Espresso on the developer. + +### Parameters + +`isOverride` - if `true` - breaks the call chain, false otherwise + +`interceptor` - lambda with intercepting logic \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-perform.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-perform.md new file mode 100644 index 00000000..9344bb02 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-builder/on-perform.md @@ -0,0 +1,15 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Builder](index.md) / [onPerform](./on-perform.md) + +# onPerform + +`fun onPerform(isOverride: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)` = false, interceptor: (`[`INTERACTION`](index.md#INTERACTION)`, `[`ACTION`](index.md#ACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Sets the interceptor for the `perform` operation for a given interaction. +If overridden, breaks the call chain of operation and transfers the responsibility +to invoke the Espresso on the developer. + +### Parameters + +`isOverride` - if `true` - breaks the call chain, false otherwise + +`interceptor` - lambda with intercepting logic \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/-init-.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/-init-.md new file mode 100644 index 00000000..241da389 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/-init-.md @@ -0,0 +1,5 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configuration](index.md) / [<init>](./-init-.md) + +# <init> + +`Configuration(viewInterceptor: `[`Interceptor`](../index.md)`?, dataInterceptor: `[`Interceptor`](../index.md)`?, webInterceptor: `[`Interceptor`](../index.md)`, WebAssertion<*>, Atom<*>>?)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/data-interceptor.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/data-interceptor.md new file mode 100644 index 00000000..49d2d0a1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/data-interceptor.md @@ -0,0 +1,5 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configuration](index.md) / [dataInterceptor](./data-interceptor.md) + +# dataInterceptor + +`val dataInterceptor: `[`Interceptor`](../index.md)`?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/index.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/index.md new file mode 100644 index 00000000..62b18fea --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/index.md @@ -0,0 +1,19 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configuration](./index.md) + +# Configuration + +`data class Configuration` + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `Configuration(viewInterceptor: `[`Interceptor`](../index.md)`?, dataInterceptor: `[`Interceptor`](../index.md)`?, webInterceptor: `[`Interceptor`](../index.md)`, WebAssertion<*>, Atom<*>>?)` | + +### Properties + +| Name | Summary | +|---|---| +| [dataInterceptor](data-interceptor.md) | `val dataInterceptor: `[`Interceptor`](../index.md)`?` | +| [viewInterceptor](view-interceptor.md) | `val viewInterceptor: `[`Interceptor`](../index.md)`?` | +| [webInterceptor](web-interceptor.md) | `val webInterceptor: `[`Interceptor`](../index.md)`, WebAssertion<*>, Atom<*>>?` | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/view-interceptor.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/view-interceptor.md new file mode 100644 index 00000000..004c030c --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/view-interceptor.md @@ -0,0 +1,5 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configuration](index.md) / [viewInterceptor](./view-interceptor.md) + +# viewInterceptor + +`val viewInterceptor: `[`Interceptor`](../index.md)`?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/web-interceptor.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/web-interceptor.md new file mode 100644 index 00000000..2f6806a4 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configuration/web-interceptor.md @@ -0,0 +1,5 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configuration](index.md) / [webInterceptor](./web-interceptor.md) + +# webInterceptor + +`val webInterceptor: `[`Interceptor`](../index.md)`, WebAssertion<*>, Atom<*>>?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/-init-.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/-init-.md new file mode 100644 index 00000000..70ac502b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/-init-.md @@ -0,0 +1,15 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configurator](index.md) / [<init>](./-init-.md) + +# <init> + +`Configurator()` + +Configuration class that is used for building interceptors on the +[Kakao](../../../com.agoda.kakao/-kakao/index.md) runtime and [Screen](../../../com.agoda.kakao.screen/-screen/index.md) levels. + +**See Also** + +[com.agoda.kakao.Kakao](../../../com.agoda.kakao/-kakao/index.md) + +[com.agoda.kakao.screen.Screen](../../../com.agoda.kakao.screen/-screen/index.md) + diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/index.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/index.md new file mode 100644 index 00000000..6b419d6b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/index.md @@ -0,0 +1,28 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configurator](./index.md) + +# Configurator + +`class Configurator` + +Configuration class that is used for building interceptors on the +[Kakao](../../../com.agoda.kakao/-kakao/index.md) runtime and [Screen](../../../com.agoda.kakao.screen/-screen/index.md) levels. + +**See Also** + +[com.agoda.kakao.Kakao](../../../com.agoda.kakao/-kakao/index.md) + +[com.agoda.kakao.screen.Screen](../../../com.agoda.kakao.screen/-screen/index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `Configurator()`
Configuration class that is used for building interceptors on the [Kakao](../../../com.agoda.kakao/-kakao/index.md) runtime and [Screen](../../../com.agoda.kakao.screen/-screen/index.md) levels. | + +### Functions + +| Name | Summary | +|---|---| +| [onDataInteraction](on-data-interaction.md) | `fun onDataInteraction(builder: `[`Interceptor.Builder`](../-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)
Setups the interceptor for `check` and `perform` operations happening through [DataInteraction](#) | +| [onViewInteraction](on-view-interaction.md) | `fun onViewInteraction(builder: `[`Interceptor.Builder`](../-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)
Setups the interceptor for `check` and `perform` operations happening through [ViewInteraction](#) | +| [onWebInteraction](on-web-interaction.md) | `fun onWebInteraction(builder: `[`Interceptor.Builder`](../-builder/index.md)`, WebAssertion<*>, Atom<*>>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Setups the interceptor for `check` and `perform` operations happening through [Web.WebInteraction](#) | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-data-interaction.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-data-interaction.md new file mode 100644 index 00000000..f7143610 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-data-interaction.md @@ -0,0 +1,11 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configurator](index.md) / [onDataInteraction](./on-data-interaction.md) + +# onDataInteraction + +`fun onDataInteraction(builder: `[`Interceptor.Builder`](../-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) + +Setups the interceptor for `check` and `perform` operations happening through [DataInteraction](#) + +### Parameters + +`builder` - Builder of interceptor for [DataInteraction](#) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-view-interaction.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-view-interaction.md new file mode 100644 index 00000000..b10bf461 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-view-interaction.md @@ -0,0 +1,11 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configurator](index.md) / [onViewInteraction](./on-view-interaction.md) + +# onViewInteraction + +`fun onViewInteraction(builder: `[`Interceptor.Builder`](../-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) + +Setups the interceptor for `check` and `perform` operations happening through [ViewInteraction](#) + +### Parameters + +`builder` - Builder of interceptor for [ViewInteraction](#) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-web-interaction.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-web-interaction.md new file mode 100644 index 00000000..c9482e80 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-configurator/on-web-interaction.md @@ -0,0 +1,11 @@ +[kakao](../../../index.md) / [com.agoda.kakao.intercept](../../index.md) / [Interceptor](../index.md) / [Configurator](index.md) / [onWebInteraction](./on-web-interaction.md) + +# onWebInteraction + +`fun onWebInteraction(builder: `[`Interceptor.Builder`](../-builder/index.md)`, WebAssertion<*>, Atom<*>>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Setups the interceptor for `check` and `perform` operations happening through [Web.WebInteraction](#) + +### Parameters + +`builder` - Builder of interceptor for [Web.WebInteraction](#) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/-init-.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-init-.md new file mode 100644 index 00000000..c98e53ab --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/-init-.md @@ -0,0 +1,40 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptor](index.md) / [<init>](./-init-.md) + +# <init> + +`Interceptor(onCheck: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?, onPerform: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ACTION`](index.md#ACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?, onAll: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?)` + +Base class for intercepting the call chain from Kakao to Espresso. + +Interceptors can be provided through [Kakao](../../com.agoda.kakao/-kakao/index.md) runtime, +different [Screens](../../com.agoda.kakao.screen/-screen/index.md) as well as [KViews](../../com.agoda.kakao.common.views/-k-base-view/index.md). + +Interceptors are stacked during the runtime for any Kakao-Espresso `check` and `perform` operations. +The stack ordering is following: KView interceptor -> Screen interceptors -> Kakao interceptor. + +Any of the interceptors in the chain can break the chain call by setting `isOverride` to true +in [onCheck](-builder/on-check.md), [onPerform](-builder/on-perform.md) or [onAll](-builder/on-all.md) interception +functions during the configuration. Doing this will not only prevent underlying +interceptors from being invoked, but prevents Kakao from executing the operation. In that case, +responsibility for actually making Espresso call lies on developer. + +For each operation the interceptor invocation cycle will be as follows: + +``` +// For check operation +onAll?.invoke() +onCheck?.invoke() + +// For perform operation +onAll?.invoke() +onPerform?.invoke() +``` + +**See Also** + +[com.agoda.kakao.Kakao](../../com.agoda.kakao/-kakao/index.md) + +[com.agoda.kakao.screen.Screen](../../com.agoda.kakao.screen/-screen/index.md) + +[com.agoda.kakao.common.views.KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) + diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/index.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/index.md new file mode 100644 index 00000000..3212bdfc --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/index.md @@ -0,0 +1,61 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptor](./index.md) + +# Interceptor + +`class Interceptor` + +Base class for intercepting the call chain from Kakao to Espresso. + +Interceptors can be provided through [Kakao](../../com.agoda.kakao/-kakao/index.md) runtime, +different [Screens](../../com.agoda.kakao.screen/-screen/index.md) as well as [KViews](../../com.agoda.kakao.common.views/-k-base-view/index.md). + +Interceptors are stacked during the runtime for any Kakao-Espresso `check` and `perform` operations. +The stack ordering is following: KView interceptor -> Screen interceptors -> Kakao interceptor. + +Any of the interceptors in the chain can break the chain call by setting `isOverride` to true +in [onCheck](-builder/on-check.md), [onPerform](-builder/on-perform.md) or [onAll](-builder/on-all.md) interception +functions during the configuration. Doing this will not only prevent underlying +interceptors from being invoked, but prevents Kakao from executing the operation. In that case, +responsibility for actually making Espresso call lies on developer. + +For each operation the interceptor invocation cycle will be as follows: + +``` +// For check operation +onAll?.invoke() +onCheck?.invoke() + +// For perform operation +onAll?.invoke() +onPerform?.invoke() +``` + +**See Also** + +[com.agoda.kakao.Kakao](../../com.agoda.kakao/-kakao/index.md) + +[com.agoda.kakao.screen.Screen](../../com.agoda.kakao.screen/-screen/index.md) + +[com.agoda.kakao.common.views.KBaseView](../../com.agoda.kakao.common.views/-k-base-view/index.md) + +### Types + +| Name | Summary | +|---|---| +| [Builder](-builder/index.md) | `class Builder`
Builder class that is used to build a single instance of [Interceptor](./index.md). | +| [Configuration](-configuration/index.md) | `data class Configuration` | +| [Configurator](-configurator/index.md) | `class Configurator`
Configuration class that is used for building interceptors on the [Kakao](../../com.agoda.kakao/-kakao/index.md) runtime and [Screen](../../com.agoda.kakao.screen/-screen/index.md) levels. | + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `Interceptor(onCheck: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?, onPerform: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ACTION`](index.md#ACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?, onAll: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?)`
Base class for intercepting the call chain from Kakao to Espresso. | + +### Properties + +| Name | Summary | +|---|---| +| [onAll](on-all.md) | `val onAll: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?` | +| [onCheck](on-check.md) | `val onCheck: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?` | +| [onPerform](on-perform.md) | `val onPerform: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ACTION`](index.md#ACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?` | diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-all.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-all.md new file mode 100644 index 00000000..de369c0b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-all.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptor](index.md) / [onAll](./on-all.md) + +# onAll + +`val onAll: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-check.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-check.md new file mode 100644 index 00000000..4c2c2aea --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-check.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptor](index.md) / [onCheck](./on-check.md) + +# onCheck + +`val onCheck: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ASSERTION`](index.md#ASSERTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-perform.md b/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-perform.md new file mode 100644 index 00000000..6204a15c --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/-interceptor/on-perform.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.intercept](../index.md) / [Interceptor](index.md) / [onPerform](./on-perform.md) + +# onPerform + +`val onPerform: `[`Interception`](../-interception/index.md)`<(`[`INTERACTION`](index.md#INTERACTION)`, `[`ACTION`](index.md#ACTION)`) -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`>?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.intercept/index.md b/docs/kakao/com.agoda.kakao.intercept/index.md new file mode 100644 index 00000000..42d2f863 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.intercept/index.md @@ -0,0 +1,11 @@ +[kakao](../index.md) / [com.agoda.kakao.intercept](./index.md) + +## Package com.agoda.kakao.intercept + +### Types + +| Name | Summary | +|---|---| +| [Interceptable](-interceptable/index.md) | `interface Interceptable` | +| [Interception](-interception/index.md) | `data class Interception` | +| [Interceptor](-interceptor/index.md) | `class Interceptor`
Base class for intercepting the call chain from Kakao to Espresso. | diff --git a/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/get-size.md b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/get-size.md new file mode 100644 index 00000000..0021ce14 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/get-size.md @@ -0,0 +1,17 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [AbsListViewAdapterActions](index.md) / [getSize](./get-size.md) + +# getSize + +`open fun getSize(): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) + +Returns the size of ScrollView + +**Return** +size of adapter + +**See Also** + +[ScrollView](https://developer.android.com/reference/android/widget/ScrollView.html) + +[AdapterView](https://developer.android.com/reference/android/widget/AdapterView.html) + diff --git a/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/index.md b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/index.md new file mode 100644 index 00000000..4e22fc4e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/index.md @@ -0,0 +1,23 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [AbsListViewAdapterActions](./index.md) + +# AbsListViewAdapterActions + +`interface AbsListViewAdapterActions` + +### Properties + +| Name | Summary | +|---|---| +| [view](view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | + +### Functions + +| Name | Summary | +|---|---| +| [getSize](get-size.md) | `open fun getSize(): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
Returns the size of ScrollView | + +### Inheritors + +| Name | Summary | +|---|---| +| [KAbsListView](../-k-abs-list-view/index.md) | `class KAbsListView : `[`ScrollViewActions`](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`AbsListViewAdapterActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`AbsListViewAdapterAssertions`](../-abs-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | diff --git a/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/view.md b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/view.md new file mode 100644 index 00000000..b30afd8a --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-actions/view.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [AbsListViewAdapterActions](index.md) / [view](./view.md) + +# view + +`abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-assertions/has-size.md b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-assertions/has-size.md new file mode 100644 index 00000000..5b3d097e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-assertions/has-size.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [AbsListViewAdapterAssertions](index.md) / [hasSize](./has-size.md) + +# hasSize + +`open fun hasSize(size: `[`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 size of AbsListView + +### Parameters + +`size` - expected child count size in AbsListView \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md new file mode 100644 index 00000000..ddf414d4 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md @@ -0,0 +1,25 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [AbsListViewAdapterAssertions](./index.md) + +# AbsListViewAdapterAssertions + +`interface AbsListViewAdapterAssertions : `[`AdapterAssertions`](../../com.agoda.kakao.common.assertions/-adapter-assertions/index.md) + +Provides assertions for AbsListView adapter + +### Inherited Properties + +| Name | Summary | +|---|---| +| [view](../../com.agoda.kakao.common.assertions/-adapter-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | + +### Functions + +| Name | Summary | +|---|---| +| [hasSize](has-size.md) | `open fun hasSize(size: `[`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 size of AbsListView | + +### Inheritors + +| Name | Summary | +|---|---| +| [KAbsListView](../-k-abs-list-view/index.md) | `class KAbsListView : `[`ScrollViewActions`](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`AbsListViewAdapterActions`](../-abs-list-view-adapter-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`AbsListViewAdapterAssertions`](./index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/-init-.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/-init-.md new file mode 100644 index 00000000..47341976 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/-init-.md @@ -0,0 +1,50 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [<init>](./-init-.md) + +# <init> + +`KAbsListView(builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, itemTypeBuilder: `[`KAdapterItemTypeBuilder`](../-k-adapter-item-type-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` + +Constructs view class with view interaction from given ViewBuilder + +### Parameters + +`builder` - ViewBuilder which will result in view's interaction + +`itemTypeBuilder` - Lambda with receiver where you pass your item providers + +**See Also** + +[ViewBuilder](../../com.agoda.kakao.common.builders/-view-builder/index.md) + +`KAbsListView(parent: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>, builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, itemTypeBuilder: `[`KAdapterItemTypeBuilder`](../-k-adapter-item-type-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` + +Constructs view class with parent and view interaction from given ViewBuilder + +### Parameters + +`parent` - Matcher that will be used as parent in isDescendantOfA() matcher + +`builder` - ViewBuilder which will result in view's interaction + +`itemTypeBuilder` - Lambda with receiver where you pass your item providers + +**See Also** + +[ViewBuilder](../../com.agoda.kakao.common.builders/-view-builder/index.md) + +`KAbsListView(parent: DataInteraction, builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, itemTypeBuilder: `[`KAdapterItemTypeBuilder`](../-k-adapter-item-type-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` + +Constructs view class with parent and view interaction from given ViewBuilder + +### Parameters + +`parent` - DataInteraction that will be used as parent to ViewBuilder + +`builder` - ViewBuilder which will result in view's interaction + +`itemTypeBuilder` - Lambda with receiver where you pass your item providers + +**See Also** + +[ViewBuilder](../../com.agoda.kakao.common.builders/-view-builder/index.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/child-at.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/child-at.md new file mode 100644 index 00000000..4496b2ac --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/child-at.md @@ -0,0 +1,15 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [childAt](./child-at.md) + +# childAt + +`inline fun > childAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, function: `[`T`](child-at.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) + +Performs given actions/assertion on child at given position + +### Parameters + +`T` - Type of item at given position. Must be registered via constructor. + +`position` - Position of item in adapter + +`function` - Tail lambda which receiver will be matched item with given type T \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/child-with.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/child-with.md new file mode 100644 index 00000000..a18f27ec --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/child-with.md @@ -0,0 +1,17 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [childWith](./child-with.md) + +# childWith + +`inline fun > childWith(childMatcher: `[`DataBuilder`](../-data-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](child-with.md#T) + +Performs given actions/assertion on child that matches given matcher + +### Parameters + +`T` - Type of item at given position. Must be registered via constructor. + +`childMatcher` - Matcher for item in adapter + +**Return** +Item with type T. To make actions/assertions on it immediately, use perform() infix function. + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/children.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/children.md new file mode 100644 index 00000000..473da981 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/children.md @@ -0,0 +1,13 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [children](./children.md) + +# children + +`inline fun > children(function: `[`T`](children.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) + +Performs given actions/assertion on all children in adapter + +### Parameters + +`T` - Type of all items. Must be registered via constructor. + +`function` - Tail lambda which receiver will be matched item with given type T \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-child-at.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-child-at.md new file mode 100644 index 00000000..b43011ec --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-child-at.md @@ -0,0 +1,20 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [emptyChildAt](./empty-child-at.md) + +# emptyChildAt + +`fun emptyChildAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tail: `[`KEmptyAdapterItem`](../-k-empty-adapter-item/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) + +Calls childAt() on your view with base child + +Calls childAt() on your AbsListView and casts received item to KEmptyAdapterItem + +### Parameters + +`position` - Position of child in adapter + +`tail` - Lambda with KEmptyAdapterItem receiver + +**See Also** + +[KEmptyAdapterItem](../-k-empty-adapter-item/index.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-child-with.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-child-with.md new file mode 100644 index 00000000..2fc1163e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-child-with.md @@ -0,0 +1,21 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [emptyChildWith](./empty-child-with.md) + +# emptyChildWith + +`fun emptyChildWith(builder: `[`DataBuilder`](../-data-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KEmptyAdapterItem`](../-k-empty-adapter-item/index.md) + +Calls childWith() on your view with base child + +Calls childWith() on your AbsListView and casts received item to KEmptyAdapterItem + +### Parameters + +`builder` - Data builder that will match the child view + +**Return** +Matched KEmptyAdapterItem + +**See Also** + +[KEmptyAdapterItem](../-k-empty-adapter-item/index.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-first-child.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-first-child.md new file mode 100644 index 00000000..e0aff717 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-first-child.md @@ -0,0 +1,18 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [emptyFirstChild](./empty-first-child.md) + +# emptyFirstChild + +`fun emptyFirstChild(tail: `[`KEmptyAdapterItem`](../-k-empty-adapter-item/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) + +Calls firstChild() on your view with base child + +Calls firstChild() on your AbsListView and casts received item to KEmptyAdapterItem + +### Parameters + +`tail` - Lambda with KEmptyAdapterItem receiver + +**See Also** + +[KEmptyAdapterItem](../-k-empty-adapter-item/index.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-last-child.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-last-child.md new file mode 100644 index 00000000..70d6e291 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/empty-last-child.md @@ -0,0 +1,18 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [emptyLastChild](./empty-last-child.md) + +# emptyLastChild + +`fun emptyLastChild(tail: `[`KEmptyAdapterItem`](../-k-empty-adapter-item/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) + +Calls lastChild() on your view with base child + +Calls lastChild() on your AbsListView and casts received item to KEmptyAdapterItem + +### Parameters + +`tail` - Lambda with KEmptyAdapterItem receiver + +**See Also** + +[KEmptyAdapterItem](../-k-empty-adapter-item/index.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/first-child.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/first-child.md new file mode 100644 index 00000000..39e8ad17 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/first-child.md @@ -0,0 +1,13 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [firstChild](./first-child.md) + +# firstChild + +`inline fun > firstChild(function: `[`T`](first-child.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) + +Performs given actions/assertion on first child in adapter + +### Parameters + +`T` - Type of item at first position. Must be registered via constructor. + +`function` - Tail lambda which receiver will be matched item with given type T \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/index.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/index.md new file mode 100644 index 00000000..cfd59e97 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/index.md @@ -0,0 +1,91 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](./index.md) + +# KAbsListView + +`class KAbsListView : `[`ScrollViewActions`](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`AbsListViewAdapterActions`](../-abs-list-view-adapter-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`AbsListViewAdapterAssertions`](../-abs-list-view-adapter-assertions/index.md) + +View with ScrollViewActions and BaseAssertions. Gives access to it's children + +**See Also** + +[ScrollViewActions](../../com.agoda.kakao.scroll/-scroll-view-actions/index.md) + +[BaseAssertions](../../com.agoda.kakao.common.assertions/-base-assertions/index.md) + +[KAdapterItem](../-k-adapter-item/index.md) + +[KAdapterItemTypeBuilder](../-k-adapter-item-type-builder/index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `KAbsListView(builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, itemTypeBuilder: `[`KAdapterItemTypeBuilder`](../-k-adapter-item-type-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
Constructs view class with view interaction from given ViewBuilder`KAbsListView(parent: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>, builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, itemTypeBuilder: `[`KAdapterItemTypeBuilder`](../-k-adapter-item-type-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
`KAbsListView(parent: DataInteraction, builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`, itemTypeBuilder: `[`KAdapterItemTypeBuilder`](../-k-adapter-item-type-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
Constructs view class with parent and view interaction from given ViewBuilder | + +### Properties + +| Name | Summary | +|---|---| +| [itemTypes](item-types.md) | `val itemTypes: `[`Map`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)`<`[`KClass`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)`>, `[`KAdapterItemType`](../-k-adapter-item-type/index.md)`<`[`KAdapterItem`](../-k-adapter-item/index.md)`<*>>>` | +| [matcher](matcher.md) | `val matcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` | +| [root](root.md) | `var root: Matcher` | +| [view](view.md) | `val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | + +### Functions + +| Name | Summary | +|---|---| +| [childAt](child-at.md) | `fun > childAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, function: `[`T`](child-at.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)
Performs given actions/assertion on child at given position | +| [children](children.md) | `fun > children(function: `[`T`](children.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)
Performs given actions/assertion on all children in adapter | +| [childWith](child-with.md) | `fun > childWith(childMatcher: `[`DataBuilder`](../-data-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](child-with.md#T)
Performs given actions/assertion on child that matches given matcher | +| [emptyChildAt](empty-child-at.md) | `fun emptyChildAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tail: `[`KEmptyAdapterItem`](../-k-empty-adapter-item/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)
Calls childAt() on your view with base child | +| [emptyChildWith](empty-child-with.md) | `fun emptyChildWith(builder: `[`DataBuilder`](../-data-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KEmptyAdapterItem`](../-k-empty-adapter-item/index.md)
Calls childWith() on your view with base child | +| [emptyFirstChild](empty-first-child.md) | `fun emptyFirstChild(tail: `[`KEmptyAdapterItem`](../-k-empty-adapter-item/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)
Calls firstChild() on your view with base child | +| [emptyLastChild](empty-last-child.md) | `fun emptyLastChild(tail: `[`KEmptyAdapterItem`](../-k-empty-adapter-item/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)
Calls lastChild() on your view with base child | +| [firstChild](first-child.md) | `fun > firstChild(function: `[`T`](first-child.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)
Performs given actions/assertion on first child in adapter | +| [invoke](invoke.md) | `operator fun invoke(function: `[`KAbsListView`](./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)
Operator that allows usage of DSL style | +| [lastChild](last-child.md) | `fun > lastChild(function: `[`T`](last-child.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)
Performs given actions/assertion on last child in adapter | +| [perform](perform.md) | `infix fun perform(function: `[`KAbsListView`](./index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KAbsListView`](./index.md)
Infix function for invoking lambda on your view | + +### Inherited Functions + +| Name | Summary | +|---|---| +| [assert](../../com.agoda.kakao.common.assertions/-base-assertions/assert.md) | `open fun assert(function: () -> ViewAssertion): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Check the view with the given custom assertion | +| [doesNotExist](../../com.agoda.kakao.common.assertions/-base-assertions/does-not-exist.md) | `open fun doesNotExist(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the matched view does not exist | +| [getSize](../-abs-list-view-adapter-actions/get-size.md) | `open fun getSize(): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)
Returns the size of ScrollView | +| [hasAnyTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-any-tag.md) | `open fun hasAnyTag(vararg tags: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has at least one of the given tags | +| [hasBackgroundColor](../../com.agoda.kakao.common.assertions/-base-assertions/has-background-color.md) | `open fun hasBackgroundColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasBackgroundColor(colorCode: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given background color | +| [hasDescendant](../../com.agoda.kakao.common.assertions/-base-assertions/has-descendant.md) | `open fun hasDescendant(function: `[`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)
Checks if the view has given descendant | +| [hasNotDescendant](../../com.agoda.kakao.common.assertions/-base-assertions/has-not-descendant.md) | `open fun hasNotDescendant(function: `[`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)
Checks if the view has not given descendant | +| [hasNotSibling](../../com.agoda.kakao.common.assertions/-base-assertions/has-not-sibling.md) | `open fun hasNotSibling(function: `[`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)
Checks if the view has not given sibling | +| [hasSibling](../../com.agoda.kakao.common.assertions/-base-assertions/has-sibling.md) | `open fun hasSibling(function: `[`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)
Checks if the view has given sibling | +| [hasSize](../-abs-list-view-adapter-assertions/has-size.md) | `open fun hasSize(size: `[`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 size of AbsListView | +| [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | +| [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | +| [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | +| [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | +| [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | +| [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | +| [isFocusable](../../com.agoda.kakao.common.assertions/-base-assertions/is-focusable.md) | `open fun isFocusable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is focusable | +| [isFocused](../../com.agoda.kakao.common.assertions/-base-assertions/is-focused.md) | `open fun isFocused(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is focused | +| [isGone](../../com.agoda.kakao.common.assertions/-base-assertions/is-gone.md) | `open fun isGone(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has GONE visibility | +| [isInvisible](../../com.agoda.kakao.common.assertions/-base-assertions/is-invisible.md) | `open fun isInvisible(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has INVISIBLE visibility | +| [isNotClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-not-clickable.md) | `open fun isNotClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is not clickable | +| [isNotCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-not-completely-displayed.md) | `open fun isNotCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is not completely displayed | +| [isNotDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-not-displayed.md) | `open fun isNotDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is not displayed | +| [isNotFocusable](../../com.agoda.kakao.common.assertions/-base-assertions/is-not-focusable.md) | `open fun isNotFocusable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is not focusable | +| [isNotFocused](../../com.agoda.kakao.common.assertions/-base-assertions/is-not-focused.md) | `open fun isNotFocused(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is not focused | +| [isNotSelected](../../com.agoda.kakao.common.assertions/-base-assertions/is-not-selected.md) | `open fun isNotSelected(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is not selected | +| [isSelected](../../com.agoda.kakao.common.assertions/-base-assertions/is-selected.md) | `open fun isSelected(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is selected | +| [isVisible](../../com.agoda.kakao.common.assertions/-base-assertions/is-visible.md) | `open fun isVisible(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has VISIBLE visibility | +| [matches](../../com.agoda.kakao.common.assertions/-base-assertions/matches.md) | `open fun matches(function: `[`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)
Check if the view matches given matcher | +| [notMatches](../../com.agoda.kakao.common.assertions/-base-assertions/not-matches.md) | `open fun notMatches(function: `[`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)
Check if the view does not match given matcher | +| [scrollTo](../../com.agoda.kakao.scroll/-scroll-view-actions/scroll-to.md) | `open fun scrollTo(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the specific position of the view | +| [scrollToEnd](../../com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-end.md) | `open fun scrollToEnd(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the last position of the view | +| [scrollToStart](../../com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-start.md) | `open fun scrollToStart(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the starting position of the view | diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/invoke.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/invoke.md new file mode 100644 index 00000000..5408a3ce --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/invoke.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [invoke](./invoke.md) + +# invoke + +`operator fun invoke(function: `[`KAbsListView`](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) + +Operator that allows usage of DSL style + +### Parameters + +`function` - Tail lambda with receiver which is your view \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/item-types.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/item-types.md new file mode 100644 index 00000000..363d9cb1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/item-types.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [itemTypes](./item-types.md) + +# itemTypes + +`val itemTypes: `[`Map`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)`<`[`KClass`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)`>, `[`KAdapterItemType`](../-k-adapter-item-type/index.md)`<`[`KAdapterItem`](../-k-adapter-item/index.md)`<*>>>` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/last-child.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/last-child.md new file mode 100644 index 00000000..5466a510 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/last-child.md @@ -0,0 +1,13 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [lastChild](./last-child.md) + +# lastChild + +`inline fun > lastChild(function: `[`T`](last-child.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) + +Performs given actions/assertion on last child in adapter + +### Parameters + +`T` - Type of item at last position. Must be registered via constructor. + +`function` - Tail lambda which receiver will be matched item with given type T \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/matcher.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/matcher.md new file mode 100644 index 00000000..c4d4ce77 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/matcher.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [matcher](./matcher.md) + +# matcher + +`val matcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/perform.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/perform.md new file mode 100644 index 00000000..60349c70 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/perform.md @@ -0,0 +1,19 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [perform](./perform.md) + +# perform + +`infix fun perform(function: `[`KAbsListView`](index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KAbsListView`](index.md) + +Infix function for invoking lambda on your view + +Sometimes instance of view is a result of a function or constructor. +In this specific case you can't call invoke() since it will be considered as +tail lambda of your fun/constructor. In such cases please use this function. + +### Parameters + +`function` - Tail lambda with receiver which is your view + +**Return** +This object + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/root.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/root.md new file mode 100644 index 00000000..305bdedb --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/root.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [root](./root.md) + +# root + +`var root: Matcher` + +Overrides [BaseAssertions.root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/view.md b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/view.md new file mode 100644 index 00000000..4aceed91 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.list/-k-abs-list-view/view.md @@ -0,0 +1,14 @@ +[kakao](../../index.md) / [com.agoda.kakao.list](../index.md) / [KAbsListView](index.md) / [view](./view.md) + +# view + +`val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) + +Overrides [BaseActions.view](../../com.agoda.kakao.common.actions/-base-actions/view.md) + +Overrides [AbsListViewAdapterActions.view](../-abs-list-view-adapter-actions/view.md) + +Overrides [BaseAssertions.view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) + +Overrides [AdapterAssertions.view](../../com.agoda.kakao.common.assertions/-adapter-assertions/view.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/-init-.md b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/-init-.md index 49016de8..49e530da 100644 --- a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/-init-.md +++ b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/-init-.md @@ -4,7 +4,7 @@ `KAdapterItem(interaction: DataInteraction)` -Base class for KRecyclerView adapter items +Base class for KAbsListView adapter items Please extend this class to provide custom recycler view item types @@ -16,5 +16,5 @@ Please extend this class to provide custom recycler view item types **See Also** -[KRecyclerItemTypeBuilder](#) +[KAdapterItemTypeBuilder](../-k-adapter-item-type-builder/index.md) diff --git a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/index.md b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/index.md index a9936ee9..8383e0d2 100644 --- a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/index.md +++ b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/index.md @@ -2,9 +2,9 @@ # KAdapterItem -`open class KAdapterItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md) +`open class KAdapterItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)`` -Base class for KRecyclerView adapter items +Base class for KAbsListView adapter items Please extend this class to provide custom recycler view item types @@ -16,20 +16,20 @@ Please extend this class to provide custom recycler view item types **See Also** -[KRecyclerItemTypeBuilder](#) +[KAdapterItemTypeBuilder](../-k-adapter-item-type-builder/index.md) ### Constructors | Name | Summary | |---|---| -| [<init>](-init-.md) | `KAdapterItem(interaction: DataInteraction)`
Base class for KRecyclerView adapter items | +| [<init>](-init-.md) | `KAdapterItem(interaction: DataInteraction)`
Base class for KAbsListView adapter items | ### Properties | Name | Summary | |---|---| -| [root](root.md) | `open var root: Matcher` | -| [view](view.md) | `open val view: ViewInteraction` | +| [root](root.md) | `open var root: Matcher!` | +| [view](view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -55,8 +55,13 @@ Please extend this class to provide custom recycler view item types | [hasSibling](../../com.agoda.kakao.common.assertions/-base-assertions/has-sibling.md) | `open fun hasSibling(function: `[`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)
Checks if the view has given sibling | | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | +| [intercept](../../com.agoda.kakao.intercept/-interceptable/intercept.md) | `open fun intercept(builder: `[`Interceptor.Builder`](../../com.agoda.kakao.intercept/-interceptor/-builder/index.md)`<`[`INTERACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#INTERACTION)`, `[`ASSERTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ASSERTION)`, `[`ACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ACTION)`>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView. | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | @@ -78,6 +83,7 @@ Please extend this class to provide custom recycler view item types | [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)
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)
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)
Repeats given action on the view until this view will match the given matcher | +| [reset](../../com.agoda.kakao.intercept/-interceptable/reset.md) | `open fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the instance. | | [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)
Scrolls to the view, if possible | ### Inheritors diff --git a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/root.md b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/root.md index 0a687849..5b92be7f 100644 --- a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/root.md +++ b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/root.md @@ -2,7 +2,7 @@ # root -`open var root: Matcher` +`open var root: Matcher!` Overrides [BaseAssertions.root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) diff --git a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/view.md b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/view.md index a93acd3c..98d3b43f 100644 --- a/docs/kakao/com.agoda.kakao.list/-k-adapter-item/view.md +++ b/docs/kakao/com.agoda.kakao.list/-k-adapter-item/view.md @@ -2,9 +2,11 @@ # view -`open val view: ViewInteraction` +`open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) Overrides [BaseActions.view](../../com.agoda.kakao.common.actions/-base-actions/view.md) Overrides [BaseAssertions.view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) +Overrides [Interceptable.view](../../com.agoda.kakao.intercept/-interceptable/view.md) + diff --git a/docs/kakao/com.agoda.kakao.list/-k-empty-adapter-item/index.md b/docs/kakao/com.agoda.kakao.list/-k-empty-adapter-item/index.md index 3a1e56f0..56e03858 100644 --- a/docs/kakao/com.agoda.kakao.list/-k-empty-adapter-item/index.md +++ b/docs/kakao/com.agoda.kakao.list/-k-empty-adapter-item/index.md @@ -26,8 +26,8 @@ Use this if you want to perform/assert on the root view of adapter item | Name | Summary | |---|---| -| [root](../-k-adapter-item/root.md) | `open var root: Matcher` | -| [view](../-k-adapter-item/view.md) | `open val view: ViewInteraction` | +| [root](../-k-adapter-item/root.md) | `open var root: Matcher!` | +| [view](../-k-adapter-item/view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Inherited Functions diff --git a/docs/kakao/com.agoda.kakao.list/index.md b/docs/kakao/com.agoda.kakao.list/index.md index 4f7380d6..84df4ff4 100644 --- a/docs/kakao/com.agoda.kakao.list/index.md +++ b/docs/kakao/com.agoda.kakao.list/index.md @@ -6,11 +6,11 @@ | Name | Summary | |---|---| +| [AbsListViewAdapterActions](-abs-list-view-adapter-actions/index.md) | `interface AbsListViewAdapterActions` | +| [AbsListViewAdapterAssertions](-abs-list-view-adapter-assertions/index.md) | `interface AbsListViewAdapterAssertions : `[`AdapterAssertions`](../com.agoda.kakao.common.assertions/-adapter-assertions/index.md)
Provides assertions for AbsListView adapter | | [DataBuilder](-data-builder/index.md) | `class DataBuilder`
Class for building data matchers | -| [KAdapterItem](-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Base class for KRecyclerView adapter items | +| [KAbsListView](-k-abs-list-view/index.md) | `class KAbsListView : `[`ScrollViewActions`](../com.agoda.kakao.scroll/-scroll-view-actions/index.md)`, `[`AbsListViewAdapterActions`](-abs-list-view-adapter-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`AbsListViewAdapterAssertions`](-abs-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | +| [KAdapterItem](-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for KAbsListView adapter items | | [KAdapterItemType](-k-adapter-item-type/index.md) | `class KAdapterItemType>`
For internal use. Don't use manually. | | [KAdapterItemTypeBuilder](-k-adapter-item-type-builder/index.md) | `class KAdapterItemTypeBuilder`
Class that maps types to providing functions | | [KEmptyAdapterItem](-k-empty-adapter-item/index.md) | `class KEmptyAdapterItem : `[`KAdapterItem`](-k-adapter-item/index.md)`<`[`KEmptyAdapterItem`](-k-empty-adapter-item/index.md)`>`
Empty implementation of KAdapterItem | -| [KListView](-k-list-view/index.md) | `class KListView : `[`ScrollViewActions`](-scroll-view-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`ListViewAdapterAssertions`](-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | -| [ListViewAdapterAssertions](-list-view-adapter-assertions/index.md) | `interface ListViewAdapterAssertions : `[`AdapterAssertions`](../com.agoda.kakao.common.assertions/-adapter-assertions/index.md)
Provides assertions for listView adapter | -| [ScrollViewActions](-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](../com.agoda.kakao.common.actions/-scrollable-actions/index.md)`, `[`SwipeableActions`](../com.agoda.kakao.common.actions/-swipeable-actions/index.md)
Provides ScrollableActions implementation for ScrollView | diff --git a/docs/kakao/com.agoda.kakao.navigation/-k-navigation-view/index.md b/docs/kakao/com.agoda.kakao.navigation/-k-navigation-view/index.md index a2d62d13..7bdfe5fa 100644 --- a/docs/kakao/com.agoda.kakao.navigation/-k-navigation-view/index.md +++ b/docs/kakao/com.agoda.kakao.navigation/-k-navigation-view/index.md @@ -23,7 +23,7 @@ View with NavigationViewActions and NavigationViewAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.navigation/-navigation-view-actions/index.md b/docs/kakao/com.agoda.kakao.navigation/-navigation-view-actions/index.md index 51a61acb..f529feb1 100644 --- a/docs/kakao/com.agoda.kakao.navigation/-navigation-view-actions/index.md +++ b/docs/kakao/com.agoda.kakao.navigation/-navigation-view-actions/index.md @@ -10,7 +10,7 @@ Provides actions for navigation view | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.navigation/-navigation-view-assertions/index.md b/docs/kakao/com.agoda.kakao.navigation/-navigation-view-assertions/index.md index 95adecf4..0d2b9120 100644 --- a/docs/kakao/com.agoda.kakao.navigation/-navigation-view-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.navigation/-navigation-view-assertions/index.md @@ -11,7 +11,7 @@ Provides assertions for NavigationView | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -34,7 +34,11 @@ Provides assertions for NavigationView | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.pager/-k-view-pager/index.md b/docs/kakao/com.agoda.kakao.pager/-k-view-pager/index.md index db64be11..8cc452af 100644 --- a/docs/kakao/com.agoda.kakao.pager/-k-view-pager/index.md +++ b/docs/kakao/com.agoda.kakao.pager/-k-view-pager/index.md @@ -23,7 +23,7 @@ View with SwipeableActions and ViewPagerAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.pager/-view-pager-assertions/index.md b/docs/kakao/com.agoda.kakao.pager/-view-pager-assertions/index.md index 1c08c624..e7732a3d 100644 --- a/docs/kakao/com.agoda.kakao.pager/-view-pager-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.pager/-view-pager-assertions/index.md @@ -11,7 +11,7 @@ Provides assertions for view pagers | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -34,7 +34,11 @@ Provides assertions for view pagers | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/index.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/index.md new file mode 100644 index 00000000..628fbeb7 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/index.md @@ -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)
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)
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)
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)
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)
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)
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)
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)
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)
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)
View for interact with default date picker | diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/set-date.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/set-date.md new file mode 100644 index 00000000..90279487 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-action/set-date.md @@ -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 \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-date.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-date.md new file mode 100644 index 00000000..46b1a66b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-date.md @@ -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 \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-day.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-day.md new file mode 100644 index 00000000..03e9ed00 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-day.md @@ -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 \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-month.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-month.md new file mode 100644 index 00000000..5404ad96 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-month.md @@ -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 \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-year.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-year.md new file mode 100644 index 00000000..02b5ae97 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/has-year.md @@ -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 \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/index.md b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/index.md new file mode 100644 index 00000000..4481a657 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-date-picker-assertion/index.md @@ -0,0 +1,41 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [DatePickerAssertion](./index.md) + +# DatePickerAssertion + +`interface DatePickerAssertion : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md) + +Provides assertions 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 | +|---|---| +| [hasDate](has-date.md) | `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 | +| [hasDay](has-day.md) | `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 | +| [hasMonth](has-month.md) | `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 | +| [hasYear](has-year.md) | `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 | + +### 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)
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)
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)
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)
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)
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)
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)
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)
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`](../-date-picker-action/index.md)`, `[`DatePickerAssertion`](./index.md)
View for interact with default date picker | diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/-init-.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/-init-.md new file mode 100644 index 00000000..93ba3af1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/-init-.md @@ -0,0 +1,12 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePickerDialog](index.md) / [<init>](./-init-.md) + +# <init> + +`KDatePickerDialog()` + +View for interact with default date picker dialog + +**See Also** + +[DatePickerDialog](https://developer.android.com/reference/android/app/DatePickerDialog.html) + diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/cancel-button.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/cancel-button.md new file mode 100644 index 00000000..deac1dd1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/cancel-button.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePickerDialog](index.md) / [cancelButton](./cancel-button.md) + +# cancelButton + +`val cancelButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/date-picker.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/date-picker.md new file mode 100644 index 00000000..9552640c --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/date-picker.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePickerDialog](index.md) / [datePicker](./date-picker.md) + +# datePicker + +`val datePicker: `[`KDatePicker`](../-k-date-picker/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/index.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/index.md new file mode 100644 index 00000000..187933f1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/index.md @@ -0,0 +1,39 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePickerDialog](./index.md) + +# KDatePickerDialog + +`class KDatePickerDialog : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KDatePickerDialog`](./index.md)`>` + +View for interact with default date picker dialog + +**See Also** + +[DatePickerDialog](https://developer.android.com/reference/android/app/DatePickerDialog.html) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `KDatePickerDialog()`
View for interact with default date picker dialog | + +### Properties + +| Name | Summary | +|---|---| +| [cancelButton](cancel-button.md) | `val cancelButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) | +| [datePicker](date-picker.md) | `val datePicker: `[`KDatePicker`](../-k-date-picker/index.md) | +| [okButton](ok-button.md) | `val okButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) | + +### Inherited Properties + +| Name | Summary | +|---|---| +| [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | +| [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)
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)
Infix function for invoking lambda on your view | diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/ok-button.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/ok-button.md new file mode 100644 index 00000000..f8027bb0 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker-dialog/ok-button.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePickerDialog](index.md) / [okButton](./ok-button.md) + +# okButton + +`val okButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker/-init-.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker/-init-.md new file mode 100644 index 00000000..4a502777 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker/-init-.md @@ -0,0 +1,7 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePicker](index.md) / [<init>](./-init-.md) + +# <init> + +`KDatePicker(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` +`KDatePicker(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)`)` +`KDatePicker(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)`)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker/index.md b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker/index.md new file mode 100644 index 00000000..c547c738 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/-k-date-picker/index.md @@ -0,0 +1,36 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.date](../index.md) / [KDatePicker](./index.md) + +# KDatePicker + +`class KDatePicker : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KDatePicker`](./index.md)`>, `[`DatePickerAction`](../-date-picker-action/index.md)`, `[`DatePickerAssertion`](../-date-picker-assertion/index.md) + +View for interact with default date picker + +**See Also** + +[DatePicker](https://developer.android.com/reference/android/widget/DatePicker.html) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `KDatePicker(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
`KDatePicker(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)`)`
`KDatePicker(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)`)` | + +### Inherited Properties + +| Name | Summary | +|---|---| +| [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | +| [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 | +|---|---| +| [hasDate](../-date-picker-assertion/has-date.md) | `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 | +| [hasDay](../-date-picker-assertion/has-day.md) | `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 | +| [hasMonth](../-date-picker-assertion/has-month.md) | `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 | +| [hasYear](../-date-picker-assertion/has-year.md) | `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 | +| [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)
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)
Infix function for invoking lambda on your view | +| [setDate](../-date-picker-action/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)
Set date to picker dialog Month number will be normalized | diff --git a/docs/kakao/com.agoda.kakao.picker.date/index.md b/docs/kakao/com.agoda.kakao.picker.date/index.md new file mode 100644 index 00000000..b2899339 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.date/index.md @@ -0,0 +1,12 @@ +[kakao](../index.md) / [com.agoda.kakao.picker.date](./index.md) + +## Package com.agoda.kakao.picker.date + +### Types + +| Name | Summary | +|---|---| +| [DatePickerAction](-date-picker-action/index.md) | `interface DatePickerAction : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)
Provides actions for date picker | +| [DatePickerAssertion](-date-picker-assertion/index.md) | `interface DatePickerAssertion : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)
Provides assertions for date picker | +| [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`](-date-picker-action/index.md)`, `[`DatePickerAssertion`](-date-picker-assertion/index.md)
View for interact with default date picker | +| [KDatePickerDialog](-k-date-picker-dialog/index.md) | `class KDatePickerDialog : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KDatePickerDialog`](-k-date-picker-dialog/index.md)`>`
View for interact with default date picker dialog | diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/-init-.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/-init-.md new file mode 100644 index 00000000..7b24408b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/-init-.md @@ -0,0 +1,12 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePickerDialog](index.md) / [<init>](./-init-.md) + +# <init> + +`KTimePickerDialog()` + +View for interact with default date picker dialog + +**See Also** + +[TimePickerDialog](https://developer.android.com/reference/android/app/TimePickerDialog.html) + diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/cancel-button.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/cancel-button.md new file mode 100644 index 00000000..387f460b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/cancel-button.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePickerDialog](index.md) / [cancelButton](./cancel-button.md) + +# cancelButton + +`val cancelButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/index.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/index.md new file mode 100644 index 00000000..250e89b5 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/index.md @@ -0,0 +1,39 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePickerDialog](./index.md) + +# KTimePickerDialog + +`class KTimePickerDialog : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTimePickerDialog`](./index.md)`>` + +View for interact with default date picker dialog + +**See Also** + +[TimePickerDialog](https://developer.android.com/reference/android/app/TimePickerDialog.html) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `KTimePickerDialog()`
View for interact with default date picker dialog | + +### Properties + +| Name | Summary | +|---|---| +| [cancelButton](cancel-button.md) | `val cancelButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) | +| [okButton](ok-button.md) | `val okButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) | +| [timePicker](time-picker.md) | `val timePicker: `[`KTimePicker`](../-k-time-picker/index.md) | + +### Inherited Properties + +| Name | Summary | +|---|---| +| [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | +| [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)
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)
Infix function for invoking lambda on your view | diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/ok-button.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/ok-button.md new file mode 100644 index 00000000..d6161098 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/ok-button.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePickerDialog](index.md) / [okButton](./ok-button.md) + +# okButton + +`val okButton: `[`KButton`](../../com.agoda.kakao.text/-k-button/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/time-picker.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/time-picker.md new file mode 100644 index 00000000..5feb381d --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker-dialog/time-picker.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePickerDialog](index.md) / [timePicker](./time-picker.md) + +# timePicker + +`val timePicker: `[`KTimePicker`](../-k-time-picker/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker/-init-.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker/-init-.md new file mode 100644 index 00000000..5357f6ce --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker/-init-.md @@ -0,0 +1,7 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePicker](index.md) / [<init>](./-init-.md) + +# <init> + +`KTimePicker(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` +`KTimePicker(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)`)` +`KTimePicker(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)`)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker/index.md b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker/index.md new file mode 100644 index 00000000..82dceee6 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-k-time-picker/index.md @@ -0,0 +1,35 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [KTimePicker](./index.md) + +# KTimePicker + +`class KTimePicker : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTimePicker`](./index.md)`>, `[`TimePickerAction`](../-time-picker-action/index.md)`, `[`TimePickerAssertion`](../-time-picker-assertion/index.md) + +View for interact with default time picker + +**See Also** + +[TimePicker](https://developer.android.com/reference/android/widget/TimePicker.html) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `KTimePicker(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
`KTimePicker(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)`)`
`KTimePicker(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)`)` | + +### Inherited Properties + +| Name | Summary | +|---|---| +| [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | +| [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 | +|---|---| +| [hasHour](../-time-picker-assertion/has-hour.md) | `open fun hasHour(hour: `[`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 hour | +| [hasMinute](../-time-picker-assertion/has-minute.md) | `open fun hasMinute(minute: `[`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 minute | +| [hasTime](../-time-picker-assertion/has-time.md) | `open fun hasTime(hour: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, minute: `[`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 time | +| [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)
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)
Infix function for invoking lambda on your view | +| [setTime](../-time-picker-action/set-time.md) | `open fun setTime(hour: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, minutes: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)
Set time to picker dialog | diff --git a/docs/kakao/com.agoda.kakao.picker.time/-time-picker-action/index.md b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-action/index.md new file mode 100644 index 00000000..e57e7825 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-action/index.md @@ -0,0 +1,38 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [TimePickerAction](./index.md) + +# TimePickerAction + +`interface TimePickerAction : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md) + +Provides actions for time 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 | +|---|---| +| [setTime](set-time.md) | `open fun setTime(hour: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, minutes: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)
Set time to picker dialog | + +### 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)
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)
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)
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)
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)
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)
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)
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)
Scrolls to the view, if possible | + +### Inheritors + +| Name | Summary | +|---|---| +| [KTimePicker](../-k-time-picker/index.md) | `class KTimePicker : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTimePicker`](../-k-time-picker/index.md)`>, `[`TimePickerAction`](./index.md)`, `[`TimePickerAssertion`](../-time-picker-assertion/index.md)
View for interact with default time picker | diff --git a/docs/kakao/com.agoda.kakao.picker.time/-time-picker-action/set-time.md b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-action/set-time.md new file mode 100644 index 00000000..891fc2f5 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-action/set-time.md @@ -0,0 +1,10 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [TimePickerAction](index.md) / [setTime](./set-time.md) + +# setTime + +`open fun setTime(hour: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, minutes: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) + +Set time to picker dialog + +**Parameters** + diff --git a/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-hour.md b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-hour.md new file mode 100644 index 00000000..a19e72cd --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-hour.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [TimePickerAssertion](index.md) / [hasHour](./has-hour.md) + +# hasHour + +`open fun hasHour(hour: `[`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 hour + +### Parameters + +`hour` - hour \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-minute.md b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-minute.md new file mode 100644 index 00000000..5ac4e610 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-minute.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [TimePickerAssertion](index.md) / [hasMinute](./has-minute.md) + +# hasMinute + +`open fun hasMinute(minute: `[`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 minute + +### Parameters + +`minute` - month \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-time.md b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-time.md new file mode 100644 index 00000000..9d2030f1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/has-time.md @@ -0,0 +1,13 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [TimePickerAssertion](index.md) / [hasTime](./has-time.md) + +# hasTime + +`open fun hasTime(hour: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, minute: `[`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 time + +### Parameters + +`hour` - hour + +`minute` - monute \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/index.md b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/index.md new file mode 100644 index 00000000..41399bd4 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/-time-picker-assertion/index.md @@ -0,0 +1,40 @@ +[kakao](../../index.md) / [com.agoda.kakao.picker.time](../index.md) / [TimePickerAssertion](./index.md) + +# TimePickerAssertion + +`interface TimePickerAssertion : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md) + +Provides assertions for time 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 | +|---|---| +| [hasHour](has-hour.md) | `open fun hasHour(hour: `[`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 hour | +| [hasMinute](has-minute.md) | `open fun hasMinute(minute: `[`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 minute | +| [hasTime](has-time.md) | `open fun hasTime(hour: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, minute: `[`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 time | + +### 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)
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)
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)
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)
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)
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)
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)
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)
Scrolls to the view, if possible | + +### Inheritors + +| Name | Summary | +|---|---| +| [KTimePicker](../-k-time-picker/index.md) | `class KTimePicker : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTimePicker`](../-k-time-picker/index.md)`>, `[`TimePickerAction`](../-time-picker-action/index.md)`, `[`TimePickerAssertion`](./index.md)
View for interact with default time picker | diff --git a/docs/kakao/com.agoda.kakao.picker.time/index.md b/docs/kakao/com.agoda.kakao.picker.time/index.md new file mode 100644 index 00000000..1e12498e --- /dev/null +++ b/docs/kakao/com.agoda.kakao.picker.time/index.md @@ -0,0 +1,12 @@ +[kakao](../index.md) / [com.agoda.kakao.picker.time](./index.md) + +## Package com.agoda.kakao.picker.time + +### Types + +| Name | Summary | +|---|---| +| [KTimePicker](-k-time-picker/index.md) | `class KTimePicker : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTimePicker`](-k-time-picker/index.md)`>, `[`TimePickerAction`](-time-picker-action/index.md)`, `[`TimePickerAssertion`](-time-picker-assertion/index.md)
View for interact with default time picker | +| [KTimePickerDialog](-k-time-picker-dialog/index.md) | `class KTimePickerDialog : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTimePickerDialog`](-k-time-picker-dialog/index.md)`>`
View for interact with default date picker dialog | +| [TimePickerAction](-time-picker-action/index.md) | `interface TimePickerAction : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)
Provides actions for time picker | +| [TimePickerAssertion](-time-picker-assertion/index.md) | `interface TimePickerAssertion : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)
Provides assertions for time picker | diff --git a/docs/kakao/com.agoda.kakao.progress/-k-progress-bar/index.md b/docs/kakao/com.agoda.kakao.progress/-k-progress-bar/index.md index de750363..2f0e38f0 100644 --- a/docs/kakao/com.agoda.kakao.progress/-k-progress-bar/index.md +++ b/docs/kakao/com.agoda.kakao.progress/-k-progress-bar/index.md @@ -23,7 +23,7 @@ View with ProgressBarActions and ProgressBarAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.progress/-k-seek-bar/index.md b/docs/kakao/com.agoda.kakao.progress/-k-seek-bar/index.md index d9fea22a..2f2cfd23 100644 --- a/docs/kakao/com.agoda.kakao.progress/-k-seek-bar/index.md +++ b/docs/kakao/com.agoda.kakao.progress/-k-seek-bar/index.md @@ -23,7 +23,7 @@ View with SeekBarActions and ProgressBarAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.progress/-progress-bar-actions/index.md b/docs/kakao/com.agoda.kakao.progress/-progress-bar-actions/index.md index 35486aa1..7ccbb16f 100644 --- a/docs/kakao/com.agoda.kakao.progress/-progress-bar-actions/index.md +++ b/docs/kakao/com.agoda.kakao.progress/-progress-bar-actions/index.md @@ -10,7 +10,7 @@ Provides action for ProgressBar | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.progress/-progress-bar-assertions/index.md b/docs/kakao/com.agoda.kakao.progress/-progress-bar-assertions/index.md index 6e4b8b5c..c5a8ee1c 100644 --- a/docs/kakao/com.agoda.kakao.progress/-progress-bar-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.progress/-progress-bar-assertions/index.md @@ -11,7 +11,7 @@ Provides assertions for progress bar | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -34,7 +34,11 @@ Provides assertions for progress bar | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.rating/-k-rating-bar/index.md b/docs/kakao/com.agoda.kakao.rating/-k-rating-bar/index.md index 38ade444..a5f38f76 100644 --- a/docs/kakao/com.agoda.kakao.rating/-k-rating-bar/index.md +++ b/docs/kakao/com.agoda.kakao.rating/-k-rating-bar/index.md @@ -23,7 +23,7 @@ View with RatingBarActions and RatingBarAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.rating/-rating-bar-actions/index.md b/docs/kakao/com.agoda.kakao.rating/-rating-bar-actions/index.md index 1d257030..267c2160 100644 --- a/docs/kakao/com.agoda.kakao.rating/-rating-bar-actions/index.md +++ b/docs/kakao/com.agoda.kakao.rating/-rating-bar-actions/index.md @@ -10,7 +10,7 @@ Provides action for RatingBar | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.rating/-rating-bar-assertions/index.md b/docs/kakao/com.agoda.kakao.rating/-rating-bar-assertions/index.md index c3cc2e51..2a7fe9f1 100644 --- a/docs/kakao/com.agoda.kakao.rating/-rating-bar-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.rating/-rating-bar-assertions/index.md @@ -11,7 +11,7 @@ Provides assertions for RatingBar | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -34,7 +34,11 @@ Provides assertions for RatingBar | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.recycler/-k-empty-recycler-item/index.md b/docs/kakao/com.agoda.kakao.recycler/-k-empty-recycler-item/index.md index 4e42a13e..fae54672 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-k-empty-recycler-item/index.md +++ b/docs/kakao/com.agoda.kakao.recycler/-k-empty-recycler-item/index.md @@ -26,8 +26,8 @@ Use this if you want to perform/assert on the root view of view holder | Name | Summary | |---|---| -| [root](../-k-recycler-item/root.md) | `open var root: Matcher` | -| [view](../-k-recycler-item/view.md) | `open val view: ViewInteraction` | +| [root](../-k-recycler-item/root.md) | `open var root: Matcher!` | +| [view](../-k-recycler-item/view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Inherited Functions diff --git a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/index.md b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/index.md index a3f53da9..a39718d7 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/index.md +++ b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/index.md @@ -2,7 +2,7 @@ # KRecyclerItem -`open class KRecyclerItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md) +`open class KRecyclerItem : `[`BaseActions`](../../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)`` Base class for KRecyclerView adapter items @@ -28,8 +28,8 @@ Please extend this class to provide custom recycler view item types | Name | Summary | |---|---| -| [root](root.md) | `open var root: Matcher` | -| [view](view.md) | `open val view: ViewInteraction` | +| [root](root.md) | `open var root: Matcher!` | +| [view](view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -55,8 +55,13 @@ Please extend this class to provide custom recycler view item types | [hasSibling](../../com.agoda.kakao.common.assertions/-base-assertions/has-sibling.md) | `open fun hasSibling(function: `[`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)
Checks if the view has given sibling | | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | +| [intercept](../../com.agoda.kakao.intercept/-interceptable/intercept.md) | `open fun intercept(builder: `[`Interceptor.Builder`](../../com.agoda.kakao.intercept/-interceptor/-builder/index.md)`<`[`INTERACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#INTERACTION)`, `[`ASSERTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ASSERTION)`, `[`ACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ACTION)`>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView. | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | @@ -78,6 +83,7 @@ Please extend this class to provide custom recycler view item types | [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)
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)
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)
Repeats given action on the view until this view will match the given matcher | +| [reset](../../com.agoda.kakao.intercept/-interceptable/reset.md) | `open fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the instance. | | [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)
Scrolls to the view, if possible | ### Inheritors diff --git a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/root.md b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/root.md index 0e4911cc..255cb9f8 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/root.md +++ b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/root.md @@ -2,7 +2,7 @@ # root -`open var root: Matcher` +`open var root: Matcher!` Overrides [BaseAssertions.root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) diff --git a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/view.md b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/view.md index 341b2ab5..27fd11e0 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/view.md +++ b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-item/view.md @@ -2,9 +2,11 @@ # view -`open val view: ViewInteraction` +`open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) Overrides [BaseActions.view](../../com.agoda.kakao.common.actions/-base-actions/view.md) Overrides [BaseAssertions.view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) +Overrides [Interceptable.view](../../com.agoda.kakao.intercept/-interceptable/view.md) + diff --git a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/index.md b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/index.md index 59a22935..bfe721f7 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/index.md +++ b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/index.md @@ -31,15 +31,15 @@ View with RecyclerActions, BaseAssertions and RecyclerAdapterAssertions. Gives a | [itemTypes](item-types.md) | `val itemTypes: `[`Map`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-map/index.html)`<`[`KClass`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.reflect/-k-class/index.html)`>, `[`KRecyclerItemType`](../-k-recycler-item-type/index.md)`<`[`KRecyclerItem`](../-k-recycler-item/index.md)`<*>>>` | | [matcher](matcher.md) | `val matcher: Matcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` | | [root](root.md) | `var root: Matcher` | -| [view](view.md) | `val view: ViewInteraction` | +| [view](view.md) | `val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions | Name | Summary | |---|---| | [childAt](child-at.md) | `fun > childAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, function: `[`T`](child-at.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)
Performs given actions/assertion on child at given position | -| [childWith](child-with.md) | `fun > childWith(childMatcher: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](child-with.md#T)
Performs given actions/assertion on child that matches given matcher | | [children](children.md) | `fun > children(function: `[`T`](children.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)
Performs given actions/assertion on all children in adapter | +| [childWith](child-with.md) | `fun > childWith(childMatcher: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](child-with.md#T)
Performs given actions/assertion on child that matches given matcher | | [emptyChildAt](empty-child-at.md) | `fun emptyChildAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tail: `[`KEmptyRecyclerItem`](../-k-empty-recycler-item/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)
Calls childAt() on your view with base child | | [emptyChildWith](empty-child-with.md) | `fun emptyChildWith(builder: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KEmptyRecyclerItem`](../-k-empty-recycler-item/index.md)
Calls childWith() on your view with base child | | [emptyFirstChild](empty-first-child.md) | `fun emptyFirstChild(tail: `[`KEmptyRecyclerItem`](../-k-empty-recycler-item/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)
Calls firstChild() on your view with base child | @@ -67,7 +67,11 @@ View with RecyclerActions, BaseAssertions and RecyclerAdapterAssertions. Gives a | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/view.md b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/view.md index b305fa57..4ec25d1b 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/view.md +++ b/docs/kakao/com.agoda.kakao.recycler/-k-recycler-view/view.md @@ -2,7 +2,7 @@ # view -`val view: ViewInteraction` +`val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) Overrides [BaseActions.view](../../com.agoda.kakao.common.actions/-base-actions/view.md) diff --git a/docs/kakao/com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md b/docs/kakao/com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md index 0488a7a1..561a32fa 100644 --- a/docs/kakao/com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.recycler/-recycler-adapter-assertions/index.md @@ -10,7 +10,7 @@ Provides assertions for recyclerView adapter | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.assertions/-adapter-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-adapter-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.recycler/index.md b/docs/kakao/com.agoda.kakao.recycler/index.md index 7c990608..6a569fe3 100644 --- a/docs/kakao/com.agoda.kakao.recycler/index.md +++ b/docs/kakao/com.agoda.kakao.recycler/index.md @@ -7,7 +7,7 @@ | Name | Summary | |---|---| | [KEmptyRecyclerItem](-k-empty-recycler-item/index.md) | `class KEmptyRecyclerItem : `[`KRecyclerItem`](-k-recycler-item/index.md)`<`[`KEmptyRecyclerItem`](-k-empty-recycler-item/index.md)`>`
Empty implementation of KRecyclerItem | -| [KRecyclerItem](-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)
Base class for KRecyclerView adapter items | +| [KRecyclerItem](-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](../com.agoda.kakao.common.actions/-base-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`Interceptable`](../com.agoda.kakao.intercept/-interceptable/index.md)``
Base class for KRecyclerView adapter items | | [KRecyclerItemType](-k-recycler-item-type/index.md) | `class KRecyclerItemType>`
For internal use. Don't use manually. | | [KRecyclerItemTypeBuilder](-k-recycler-item-type-builder/index.md) | `class KRecyclerItemTypeBuilder`
Class that maps types to providing functions | | [KRecyclerView](-k-recycler-view/index.md) | `class KRecyclerView : `[`RecyclerActions`](-recycler-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`RecyclerAdapterAssertions`](-recycler-adapter-assertions/index.md)
View with RecyclerActions, BaseAssertions and RecyclerAdapterAssertions. Gives access to it's children | diff --git a/docs/kakao/com.agoda.kakao.screen/-screen-actions/index.md b/docs/kakao/com.agoda.kakao.screen/-screen-actions/index.md index c1309264..3a5e53d6 100644 --- a/docs/kakao/com.agoda.kakao.screen/-screen-actions/index.md +++ b/docs/kakao/com.agoda.kakao.screen/-screen-actions/index.md @@ -12,7 +12,7 @@ Provides basic actions that can be performed on each and every screen | Name | Summary | |---|---| -| [view](view.md) | `abstract val view: ViewInteraction`
ViewInteraction on which all actions are performed (root view by default) | +| [view](view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)
ViewInteractionDelegate on which all actions are performed (root view by default) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.screen/-screen-actions/view.md b/docs/kakao/com.agoda.kakao.screen/-screen-actions/view.md index 93844b27..516f3abd 100644 --- a/docs/kakao/com.agoda.kakao.screen/-screen-actions/view.md +++ b/docs/kakao/com.agoda.kakao.screen/-screen-actions/view.md @@ -2,10 +2,10 @@ # view -`abstract val view: ViewInteraction` +`abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) -ViewInteraction on which all actions are performed (root view by default) +ViewInteractionDelegate on which all actions are performed (root view by default) ### Property -`view` - ViewInteraction on which all actions are performed (root view by default) \ No newline at end of file +`view` - ViewInteractionDelegate on which all actions are performed (root view by default) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/index.md b/docs/kakao/com.agoda.kakao.screen/-screen/index.md index cb8d09ce..6ce5329b 100644 --- a/docs/kakao/com.agoda.kakao.screen/-screen/index.md +++ b/docs/kakao/com.agoda.kakao.screen/-screen/index.md @@ -27,13 +27,16 @@ such as tapBack() and closeSoftKeyboard() | Name | Summary | |---|---| -| [view](view.md) | `open val view: ViewInteraction`
ViewInteraction on which all actions are performed (root view by default) | +| [rootView](root-view.md) | `open var rootView: `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<*>?`
The visibility of rootView will be checked when entering the screen | +| [view](view.md) | `open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md)
ViewInteractionDelegate on which all actions are performed (root view by default) | ### Functions | Name | Summary | |---|---| -| [invoke](invoke.md) | `operator fun invoke(function: `[`T`](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) | +| [intercept](intercept.md) | `fun intercept(configurator: `[`Interceptor.Configurator`](../../com.agoda.kakao.intercept/-interceptor/-configurator/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)
Sets the interceptors for the screen. Interceptors will be invoked on all interactions while the screen is active. | +| [invoke](invoke.md) | `operator fun invoke(function: `[`T`](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)
Operator that allows usage of DSL style | +| [reset](reset.md) | `fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the screen. | ### Inherited Functions @@ -49,4 +52,4 @@ such as tapBack() and closeSoftKeyboard() | Name | Summary | |---|---| | [idle](idle.md) | `fun idle(duration: `[`Long`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-long/index.html)` = 1000L): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Idles for given amount of time | -| [onScreen](on-screen.md) | `fun > onScreen(function: `[`T`](on-screen.md#T)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](on-screen.md#T) | +| [onScreen](on-screen.md) | `fun > onScreen(function: `[`T`](on-screen.md#T)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](on-screen.md#T)
Initializes instance of the screen class provided and invokes given tail lambda on it. | diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/intercept.md b/docs/kakao/com.agoda.kakao.screen/-screen/intercept.md new file mode 100644 index 00000000..db8d7414 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.screen/-screen/intercept.md @@ -0,0 +1,38 @@ +[kakao](../../index.md) / [com.agoda.kakao.screen](../index.md) / [Screen](index.md) / [intercept](./intercept.md) + +# intercept + +`fun intercept(configurator: `[`Interceptor.Configurator`](../../com.agoda.kakao.intercept/-interceptor/-configurator/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) + +Sets the interceptors for the screen. +Interceptors will be invoked on all interactions while the screen is active. + +The screen is considered `active` when it is invoked in one of the following ways: + +``` +val screen = SomeScreen() + +screen { // Active + view { click() } + ... +} // Inactive + +// OR + +onScreen() { // Active + view { click() } + ... +} // Inactive +``` + +If you use nesting screens, all interceptors of the screens that became active will be invoked +in LIFO order (using Deque). + +### Parameters + +`configurator` - Configuration of the interceptors + +**See Also** + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/invoke.md b/docs/kakao/com.agoda.kakao.screen/-screen/invoke.md index 66a341f8..13378edd 100644 --- a/docs/kakao/com.agoda.kakao.screen/-screen/invoke.md +++ b/docs/kakao/com.agoda.kakao.screen/-screen/invoke.md @@ -2,4 +2,10 @@ # invoke -`operator fun invoke(function: `[`T`](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) \ No newline at end of file +`operator fun invoke(function: `[`T`](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) + +Operator that allows usage of DSL style + +### Parameters + +`function` - Tail lambda with receiver which is your screen \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/on-screen.md b/docs/kakao/com.agoda.kakao.screen/-screen/on-screen.md index 0305e05c..d492eaae 100644 --- a/docs/kakao/com.agoda.kakao.screen/-screen/on-screen.md +++ b/docs/kakao/com.agoda.kakao.screen/-screen/on-screen.md @@ -2,4 +2,15 @@ # onScreen -`inline fun > onScreen(function: `[`T`](on-screen.md#T)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](on-screen.md#T) \ No newline at end of file +`inline fun > onScreen(noinline function: `[`T`](on-screen.md#T)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`T`](on-screen.md#T) + +Initializes instance of the screen class provided and invokes given tail lambda on it. + +This approach helps to reduce boilerplate code and avoid have a screen instance stored in +a properties of you tests classes. + +In order to use this function, your [Screen](index.md) class must have an empty primary constructor. + +### Parameters + +`function` - Tail lambda to be invoked on the created instance of screen. \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/reset.md b/docs/kakao/com.agoda.kakao.screen/-screen/reset.md new file mode 100644 index 00000000..dc45c322 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.screen/-screen/reset.md @@ -0,0 +1,14 @@ +[kakao](../../index.md) / [com.agoda.kakao.screen](../index.md) / [Screen](index.md) / [reset](./reset.md) + +# reset + +`fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Removes the interceptors from the screen. + +**See Also** + +[intercept](intercept.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/root-view.md b/docs/kakao/com.agoda.kakao.screen/-screen/root-view.md new file mode 100644 index 00000000..d7149efa --- /dev/null +++ b/docs/kakao/com.agoda.kakao.screen/-screen/root-view.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao.screen](../index.md) / [Screen](index.md) / [rootView](./root-view.md) + +# rootView + +`open var rootView: `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<*>?` + +The visibility of rootView will be checked when entering the screen + +**RootView** +.isVisible() Will be called after land onScreen<>() and after invoking screen directly. + diff --git a/docs/kakao/com.agoda.kakao.screen/-screen/view.md b/docs/kakao/com.agoda.kakao.screen/-screen/view.md index 651b70d8..b24d50b4 100644 --- a/docs/kakao/com.agoda.kakao.screen/-screen/view.md +++ b/docs/kakao/com.agoda.kakao.screen/-screen/view.md @@ -2,12 +2,12 @@ # view -`open val view: ViewInteraction` +`open val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) Overrides [ScreenActions.view](../-screen-actions/view.md) -ViewInteraction on which all actions are performed (root view by default) +ViewInteractionDelegate on which all actions are performed (root view by default) ### Property -`view` - ViewInteraction on which all actions are performed (root view by default) \ No newline at end of file +`view` - ViewInteractionDelegate on which all actions are performed (root view by default) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.scroll/-k-scroll-view/-init-.md b/docs/kakao/com.agoda.kakao.scroll/-k-scroll-view/-init-.md new file mode 100644 index 00000000..af3e87d1 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/-k-scroll-view/-init-.md @@ -0,0 +1,7 @@ +[kakao](../../index.md) / [com.agoda.kakao.scroll](../index.md) / [KScrollView](index.md) / [<init>](./-init-.md) + +# <init> + +`KScrollView(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)` +`KScrollView(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)`)` +`KScrollView(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)`)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.scroll/-k-scroll-view/index.md b/docs/kakao/com.agoda.kakao.scroll/-k-scroll-view/index.md new file mode 100644 index 00000000..3c67fe6a --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/-k-scroll-view/index.md @@ -0,0 +1,36 @@ +[kakao](../../index.md) / [com.agoda.kakao.scroll](../index.md) / [KScrollView](./index.md) + +# KScrollView + +`class KScrollView : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KScrollView`](./index.md)`>, `[`ScrollViewActions`](../-scroll-view-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md) + +View with ScrollViewActions and BaseAssertions + +**See Also** + +[ScrollViewActions](../-scroll-view-actions/index.md) + +[BaseAssertions](../../com.agoda.kakao.common.assertions/-base-assertions/index.md) + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `KScrollView(function: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)`
`KScrollView(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)`)`
`KScrollView(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)`)` | + +### Inherited Properties + +| Name | Summary | +|---|---| +| [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | +| [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)
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)
Infix function for invoking lambda on your view | +| [scrollTo](../-scroll-view-actions/scroll-to.md) | `open fun scrollTo(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the specific position of the view | +| [scrollToEnd](../-scroll-view-actions/scroll-to-end.md) | `open fun scrollToEnd(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the last position of the view | +| [scrollToStart](../-scroll-view-actions/scroll-to-start.md) | `open fun scrollToStart(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the starting position of the view | diff --git a/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/index.md b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/index.md new file mode 100644 index 00000000..752daceb --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/index.md @@ -0,0 +1,39 @@ +[kakao](../../index.md) / [com.agoda.kakao.scroll](../index.md) / [ScrollViewActions](./index.md) + +# ScrollViewActions + +`interface ScrollViewActions : `[`ScrollableActions`](../../com.agoda.kakao.common.actions/-scrollable-actions/index.md)`, `[`SwipeableActions`](../../com.agoda.kakao.common.actions/-swipeable-actions/index.md) + +Provides ScrollableActions implementation for ScrollView + +**See Also** + +[ScrollableActions](../../com.agoda.kakao.common.actions/-scrollable-actions/index.md) + +[SwipeableActions](../../com.agoda.kakao.common.actions/-swipeable-actions/index.md) + +[ScrollView](https://developer.android.com/reference/android/widget/ScrollView.html) + +### Functions + +| Name | Summary | +|---|---| +| [scrollTo](scroll-to.md) | `open fun scrollTo(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the specific position of the view | +| [scrollToEnd](scroll-to-end.md) | `open fun scrollToEnd(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the last position of the view | +| [scrollToStart](scroll-to-start.md) | `open fun scrollToStart(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Scrolls to the starting position of the view | + +### Inherited Functions + +| Name | Summary | +|---|---| +| [swipeDown](../../com.agoda.kakao.common.actions/-swipeable-actions/swipe-down.md) | `open fun swipeDown(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Swipes down on the view | +| [swipeLeft](../../com.agoda.kakao.common.actions/-swipeable-actions/swipe-left.md) | `open fun swipeLeft(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Swipes left on the view | +| [swipeRight](../../com.agoda.kakao.common.actions/-swipeable-actions/swipe-right.md) | `open fun swipeRight(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Swipes right on the view | +| [swipeUp](../../com.agoda.kakao.common.actions/-swipeable-actions/swipe-up.md) | `open fun swipeUp(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Swipes up on the view | + +### Inheritors + +| Name | Summary | +|---|---| +| [KAbsListView](../../com.agoda.kakao.list/-k-abs-list-view/index.md) | `class KAbsListView : `[`ScrollViewActions`](./index.md)`, `[`AbsListViewAdapterActions`](../../com.agoda.kakao.list/-abs-list-view-adapter-actions/index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)`, `[`AbsListViewAdapterAssertions`](../../com.agoda.kakao.list/-abs-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | +| [KScrollView](../-k-scroll-view/index.md) | `class KScrollView : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KScrollView`](../-k-scroll-view/index.md)`>, `[`ScrollViewActions`](./index.md)`, `[`BaseAssertions`](../../com.agoda.kakao.common.assertions/-base-assertions/index.md)
View with ScrollViewActions and BaseAssertions | diff --git a/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-end.md b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-end.md new file mode 100644 index 00000000..a9928d95 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-end.md @@ -0,0 +1,10 @@ +[kakao](../../index.md) / [com.agoda.kakao.scroll](../index.md) / [ScrollViewActions](index.md) / [scrollToEnd](./scroll-to-end.md) + +# scrollToEnd + +`open fun scrollToEnd(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Overrides [ScrollableActions.scrollToEnd](../../com.agoda.kakao.common.actions/-scrollable-actions/scroll-to-end.md) + +Scrolls to the last position of the view + diff --git a/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-start.md b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-start.md new file mode 100644 index 00000000..67a87d61 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to-start.md @@ -0,0 +1,10 @@ +[kakao](../../index.md) / [com.agoda.kakao.scroll](../index.md) / [ScrollViewActions](index.md) / [scrollToStart](./scroll-to-start.md) + +# scrollToStart + +`open fun scrollToStart(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Overrides [ScrollableActions.scrollToStart](../../com.agoda.kakao.common.actions/-scrollable-actions/scroll-to-start.md) + +Scrolls to the starting position of the view + diff --git a/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to.md b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to.md new file mode 100644 index 00000000..4d2f67d7 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/-scroll-view-actions/scroll-to.md @@ -0,0 +1,13 @@ +[kakao](../../index.md) / [com.agoda.kakao.scroll](../index.md) / [ScrollViewActions](index.md) / [scrollTo](./scroll-to.md) + +# scrollTo + +`open fun scrollTo(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Overrides [ScrollableActions.scrollTo](../../com.agoda.kakao.common.actions/-scrollable-actions/scroll-to.md) + +Scrolls to the specific position of the view + +### Parameters + +`position` - Scrolling destination \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.scroll/index.md b/docs/kakao/com.agoda.kakao.scroll/index.md new file mode 100644 index 00000000..3d7d1d53 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.scroll/index.md @@ -0,0 +1,10 @@ +[kakao](../index.md) / [com.agoda.kakao.scroll](./index.md) + +## Package com.agoda.kakao.scroll + +### Types + +| Name | Summary | +|---|---| +| [KScrollView](-k-scroll-view/index.md) | `class KScrollView : `[`KBaseView`](../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KScrollView`](-k-scroll-view/index.md)`>, `[`ScrollViewActions`](-scroll-view-actions/index.md)`, `[`BaseAssertions`](../com.agoda.kakao.common.assertions/-base-assertions/index.md)
View with ScrollViewActions and BaseAssertions | +| [ScrollViewActions](-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](../com.agoda.kakao.common.actions/-scrollable-actions/index.md)`, `[`SwipeableActions`](../com.agoda.kakao.common.actions/-swipeable-actions/index.md)
Provides ScrollableActions implementation for ScrollView | diff --git a/docs/kakao/com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md b/docs/kakao/com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md index 3bbedf1b..133b1af6 100644 --- a/docs/kakao/com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md +++ b/docs/kakao/com.agoda.kakao.swiperefresh/-k-swipe-refresh-layout/index.md @@ -23,7 +23,7 @@ View with SwipeRefreshLayoutActions and SwipeRefreshLayoutAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.swiperefresh/-swipe-refresh-layout-assertions/index.md b/docs/kakao/com.agoda.kakao.swiperefresh/-swipe-refresh-layout-assertions/index.md index 5d8d018f..a85df9b6 100644 --- a/docs/kakao/com.agoda.kakao.swiperefresh/-swipe-refresh-layout-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.swiperefresh/-swipe-refresh-layout-assertions/index.md @@ -11,7 +11,7 @@ Provides assertion for SwipeRefreshLayout | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -35,7 +35,11 @@ Provides assertion for SwipeRefreshLayout | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.tabs/-k-tab-layout/index.md b/docs/kakao/com.agoda.kakao.tabs/-k-tab-layout/index.md index 100c430c..03675819 100644 --- a/docs/kakao/com.agoda.kakao.tabs/-k-tab-layout/index.md +++ b/docs/kakao/com.agoda.kakao.tabs/-k-tab-layout/index.md @@ -23,7 +23,7 @@ View with TabLayoutActions and TabLayoutAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.tabs/-tab-layout-actions/index.md b/docs/kakao/com.agoda.kakao.tabs/-tab-layout-actions/index.md index be8443cd..1dce8785 100644 --- a/docs/kakao/com.agoda.kakao.tabs/-tab-layout-actions/index.md +++ b/docs/kakao/com.agoda.kakao.tabs/-tab-layout-actions/index.md @@ -10,7 +10,7 @@ Provides action for TabLayout | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.tabs/-tab-layout-assertions/index.md b/docs/kakao/com.agoda.kakao.tabs/-tab-layout-assertions/index.md index 29b4095c..5223e967 100644 --- a/docs/kakao/com.agoda.kakao.tabs/-tab-layout-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.tabs/-tab-layout-assertions/index.md @@ -11,7 +11,7 @@ Provides assertions for TabLayout | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -34,7 +34,11 @@ Provides assertions for TabLayout | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | diff --git a/docs/kakao/com.agoda.kakao.text/-k-button/index.md b/docs/kakao/com.agoda.kakao.text/-k-button/index.md index 0b2ef10c..0c6e93c8 100644 --- a/docs/kakao/com.agoda.kakao.text/-k-button/index.md +++ b/docs/kakao/com.agoda.kakao.text/-k-button/index.md @@ -23,7 +23,7 @@ View with BaseActions and TextViewAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 @@ -33,6 +33,7 @@ View with BaseActions and TextViewAssertions | [hasAnyText](../-text-view-assertions/has-any-text.md) | `open fun hasAnyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has any text | | [hasContentDescription](../-text-view-assertions/has-content-description.md) | `open fun hasContentDescription(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)
Checks if the view has given content description | | [hasEmptyText](../-text-view-assertions/has-empty-text.md) | `open fun hasEmptyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view have not any text | +| [hasHint](../-text-view-assertions/has-hint.md) | `open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasHint(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given hint | | [hasNoText](../-text-view-assertions/has-no-text.md) | `open fun hasNoText(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)
`open fun hasNoText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view does not have a given text | | [hasText](../-text-view-assertions/has-text.md) | `open fun hasText(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)
`open fun hasText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text`open fun hasText(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has text that matches given matcher | | [hasTextColor](../-text-view-assertions/has-text-color.md) | `open fun hasTextColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text color | diff --git a/docs/kakao/com.agoda.kakao.text/-k-snackbar/index.md b/docs/kakao/com.agoda.kakao.text/-k-snackbar/index.md index 0245856b..fe1ba973 100644 --- a/docs/kakao/com.agoda.kakao.text/-k-snackbar/index.md +++ b/docs/kakao/com.agoda.kakao.text/-k-snackbar/index.md @@ -28,7 +28,7 @@ View with internal TextView and a Button | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 diff --git a/docs/kakao/com.agoda.kakao.text/-k-text-view/index.md b/docs/kakao/com.agoda.kakao.text/-k-text-view/index.md index f9940661..9bafbd53 100644 --- a/docs/kakao/com.agoda.kakao.text/-k-text-view/index.md +++ b/docs/kakao/com.agoda.kakao.text/-k-text-view/index.md @@ -25,7 +25,7 @@ View with BaseActions and TextViewAssertions | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.views/-k-base-view/root.md) | `open var root: Matcher` | -| [view](../../com.agoda.kakao.common.views/-k-base-view/view.md) | `open val view: ViewInteraction` | +| [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 @@ -35,6 +35,7 @@ View with BaseActions and TextViewAssertions | [hasAnyText](../-text-view-assertions/has-any-text.md) | `open fun hasAnyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has any text | | [hasContentDescription](../-text-view-assertions/has-content-description.md) | `open fun hasContentDescription(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)
Checks if the view has given content description | | [hasEmptyText](../-text-view-assertions/has-empty-text.md) | `open fun hasEmptyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view have not any text | +| [hasHint](../-text-view-assertions/has-hint.md) | `open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasHint(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given hint | | [hasNoText](../-text-view-assertions/has-no-text.md) | `open fun hasNoText(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)
`open fun hasNoText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view does not have a given text | | [hasText](../-text-view-assertions/has-text.md) | `open fun hasText(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)
`open fun hasText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text`open fun hasText(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has text that matches given matcher | | [hasTextColor](../-text-view-assertions/has-text-color.md) | `open fun hasTextColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text color | diff --git a/docs/kakao/com.agoda.kakao.text/-text-view-actions/index.md b/docs/kakao/com.agoda.kakao.text/-text-view-actions/index.md index 10383031..842b9413 100644 --- a/docs/kakao/com.agoda.kakao.text/-text-view-actions/index.md +++ b/docs/kakao/com.agoda.kakao.text/-text-view-actions/index.md @@ -10,7 +10,7 @@ Provides actions for TextViews | Name | Summary | |---|---| -| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.actions/-base-actions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.text/-text-view-assertions/has-hint.md b/docs/kakao/com.agoda.kakao.text/-text-view-assertions/has-hint.md new file mode 100644 index 00000000..0d5b0114 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.text/-text-view-assertions/has-hint.md @@ -0,0 +1,17 @@ +[kakao](../../index.md) / [com.agoda.kakao.text](../index.md) / [TextViewAssertions](index.md) / [hasHint](./has-hint.md) + +# hasHint + +`open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Checks if the view has given hint + +### Parameters + +`hint` - Text to be matched`open fun hasHint(@StringRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Checks if the view has given hint + +### Parameters + +`resId` - String resource to be matched \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.text/-text-view-assertions/index.md b/docs/kakao/com.agoda.kakao.text/-text-view-assertions/index.md index 26b14306..4e224910 100644 --- a/docs/kakao/com.agoda.kakao.text/-text-view-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.text/-text-view-assertions/index.md @@ -11,7 +11,7 @@ Provides text based assertions for views | Name | Summary | |---|---| | [root](../../com.agoda.kakao.common.assertions/-base-assertions/root.md) | `abstract var root: Matcher` | -| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: ViewInteraction` | +| [view](../../com.agoda.kakao.common.assertions/-base-assertions/view.md) | `abstract val view: `[`ViewInteractionDelegate`](../../com.agoda.kakao.delegate/-view-interaction-delegate/index.md) | ### Functions @@ -21,6 +21,7 @@ Provides text based assertions for views | [hasAnyText](has-any-text.md) | `open fun hasAnyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has any text | | [hasContentDescription](has-content-description.md) | `open fun hasContentDescription(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)
Checks if the view has given content description | | [hasEmptyText](has-empty-text.md) | `open fun hasEmptyText(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view have not any text | +| [hasHint](has-hint.md) | `open fun hasHint(hint: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
`open fun hasHint(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given hint | | [hasNoText](has-no-text.md) | `open fun hasNoText(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)
`open fun hasNoText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view does not have a given text | | [hasText](has-text.md) | `open fun hasText(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)
`open fun hasText(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text`open fun hasText(matcher: Matcher<`[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has text that matches given matcher | | [hasTextColor](has-text-color.md) | `open fun hasTextColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given text color | @@ -41,7 +42,11 @@ Provides text based assertions for views | [hasTag](../../com.agoda.kakao.common.assertions/-base-assertions/has-tag.md) | `open fun hasTag(tag: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view has given tag | | [inRoot](../../com.agoda.kakao.common.assertions/-base-assertions/in-root.md) | `open fun inRoot(function: `[`RootBuilder`](../../com.agoda.kakao.common.builders/-root-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)
Check if the view is in given root | | [isClickable](../../com.agoda.kakao.common.assertions/-base-assertions/is-clickable.md) | `open fun isClickable(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is clickable | +| [isCompletelyAbove](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-above.md) | `open fun isCompletelyAbove(function: `[`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)
Checks if the view displayed is completely above of the view matching the given matcher. | +| [isCompletelyBelow](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-below.md) | `open fun isCompletelyBelow(function: `[`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)
Checks if the view displayed is completely below of the view matching the given matcher. | | [isCompletelyDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-displayed.md) | `open fun isCompletelyDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is completely displayed | +| [isCompletelyLeftOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-left-of.md) | `open fun isCompletelyLeftOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | +| [isCompletelyRightOf](../../com.agoda.kakao.common.assertions/-base-assertions/is-completely-right-of.md) | `open fun isCompletelyRightOf(function: `[`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)
Checks if the view displayed is completely right of the view matching the given matcher. | | [isDisabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-disabled.md) | `open fun isDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is disabled | | [isDisplayed](../../com.agoda.kakao.common.assertions/-base-assertions/is-displayed.md) | `open fun isDisplayed(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is displayed | | [isEnabled](../../com.agoda.kakao.common.assertions/-base-assertions/is-enabled.md) | `open fun isEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if the view is enabled | @@ -64,7 +69,7 @@ Provides text based assertions for views | Name | Summary | |---|---| -| [EditableAssertions](../../com.agoda.kakao.edit/-editable-assertions/index.md) | `interface EditableAssertions : `[`TextViewAssertions`](./index.md)
Provides editable based assertions for views | | [KButton](../-k-button/index.md) | `class KButton : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KButton`](../-k-button/index.md)`>, `[`TextViewAssertions`](./index.md)
View with BaseActions and TextViewAssertions | | [KCheckBox](../../com.agoda.kakao.check/-k-check-box/index.md) | `class KCheckBox : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KCheckBox`](../../com.agoda.kakao.check/-k-check-box/index.md)`>, `[`CheckableActions`](../../com.agoda.kakao.check/-checkable-actions/index.md)`, `[`TextViewAssertions`](./index.md)`, `[`CheckableAssertions`](../../com.agoda.kakao.check/-checkable-assertions/index.md)
View with CheckableActions, CheckableAssertions and TextViewAssertions | +| [KEditText](../../com.agoda.kakao.edit/-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KEditText`](../../com.agoda.kakao.edit/-k-edit-text/index.md)`>, `[`EditableActions`](../../com.agoda.kakao.edit/-editable-actions/index.md)`, `[`TextViewAssertions`](./index.md)
View with EditableActions and TextViewAssertions | | [KTextView](../-k-text-view/index.md) | `class KTextView : `[`KBaseView`](../../com.agoda.kakao.common.views/-k-base-view/index.md)`<`[`KTextView`](../-k-text-view/index.md)`>, `[`TextViewActions`](../-text-view-actions/index.md)`, `[`TextViewAssertions`](./index.md)
View with BaseActions and TextViewAssertions | diff --git a/docs/kakao/com.agoda.kakao.web/-k-web-view/-init-.md b/docs/kakao/com.agoda.kakao.web/-k-web-view/-init-.md index fe1324b7..3db2c326 100644 --- a/docs/kakao/com.agoda.kakao.web/-k-web-view/-init-.md +++ b/docs/kakao/com.agoda.kakao.web/-k-web-view/-init-.md @@ -2,7 +2,7 @@ # <init> -`KWebView(matcher: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = null)` +`KWebView(matcher: (`[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)? = null)` Class for interacting with WebViews diff --git a/docs/kakao/com.agoda.kakao.web/-k-web-view/index.md b/docs/kakao/com.agoda.kakao.web/-k-web-view/index.md index 4f5abadd..98a8e829 100644 --- a/docs/kakao/com.agoda.kakao.web/-k-web-view/index.md +++ b/docs/kakao/com.agoda.kakao.web/-k-web-view/index.md @@ -14,7 +14,7 @@ Class for interacting with WebViews | Name | Summary | |---|---| -| [<init>](-init-.md) | `KWebView(matcher: `[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)` = null)`
Class for interacting with WebViews | +| [<init>](-init-.md) | `KWebView(matcher: (`[`ViewBuilder`](../../com.agoda.kakao.common.builders/-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`)? = null)`
Class for interacting with WebViews | ### Functions diff --git a/docs/kakao/com.agoda.kakao.web/-web-actions/index.md b/docs/kakao/com.agoda.kakao.web/-web-actions/index.md index b2239472..8b047bdc 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-actions/index.md +++ b/docs/kakao/com.agoda.kakao.web/-web-actions/index.md @@ -15,7 +15,7 @@ Provides action for interacting with WebViews | Name | Summary | |---|---| | [ref](ref.md) | `abstract val ref: Atom` | -| [web](web.md) | `abstract val web: WebInteraction<*>` | +| [web](web.md) | `abstract val web: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.web/-web-actions/web.md b/docs/kakao/com.agoda.kakao.web/-web-actions/web.md index 09595f34..decb5154 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-actions/web.md +++ b/docs/kakao/com.agoda.kakao.web/-web-actions/web.md @@ -2,4 +2,4 @@ # web -`abstract val web: WebInteraction<*>` \ No newline at end of file +`abstract val web: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.web/-web-assertions/index.md b/docs/kakao/com.agoda.kakao.web/-web-assertions/index.md index 8524d738..da20c2c6 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.web/-web-assertions/index.md @@ -11,7 +11,7 @@ Interface that provides assertions for WebViews | Name | Summary | |---|---| | [ref](ref.md) | `abstract val ref: Atom` | -| [web](web.md) | `abstract val web: WebInteraction<*>` | +| [web](web.md) | `abstract val web: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) | ### Functions diff --git a/docs/kakao/com.agoda.kakao.web/-web-assertions/web.md b/docs/kakao/com.agoda.kakao.web/-web-assertions/web.md index 2c2825e7..927bdd55 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-assertions/web.md +++ b/docs/kakao/com.agoda.kakao.web/-web-assertions/web.md @@ -2,4 +2,4 @@ # web -`abstract val web: WebInteraction<*>` \ No newline at end of file +`abstract val web: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-init-.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-init-.md index 3f11101e..be749d2a 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-init-.md +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-init-.md @@ -2,7 +2,7 @@ # <init> -`WebElementBuilder(web: WebInteraction<*>)` +`WebElementBuilder(view: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md)`)` Class for building WebView element matchers diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/-init-.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/-init-.md index 8fe65fcd..fb134085 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/-init-.md +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/-init-.md @@ -2,4 +2,4 @@ # <init> -`KWebInteraction(web: WebInteraction<*>, ref: Atom)` \ No newline at end of file +`KWebInteraction(web: `[`WebInteractionDelegate`](../../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md)`, ref: Atom)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/index.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/index.md index d685435a..9232a3c4 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/index.md +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/index.md @@ -8,14 +8,14 @@ | Name | Summary | |---|---| -| [<init>](-init-.md) | `KWebInteraction(web: WebInteraction<*>, ref: Atom)` | +| [<init>](-init-.md) | `KWebInteraction(web: `[`WebInteractionDelegate`](../../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md)`, ref: Atom)` | ### Properties | Name | Summary | |---|---| | [ref](ref.md) | `val ref: Atom` | -| [web](web.md) | `val web: WebInteraction<*>` | +| [web](web.md) | `val web: `[`WebInteractionDelegate`](../../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) | ### Inherited Functions diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/web.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/web.md index daee17f5..a5a077fb 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/web.md +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/-k-web-interaction/web.md @@ -2,7 +2,7 @@ # web -`val web: WebInteraction<*>` +`val web: `[`WebInteractionDelegate`](../../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) Overrides [WebActions.web](../../-web-actions/web.md) diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/index.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/index.md index c434590c..060762e0 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-element-builder/index.md +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/index.md @@ -2,7 +2,7 @@ # WebElementBuilder -`class WebElementBuilder` +`class WebElementBuilder : `[`Interceptable`](../../com.agoda.kakao.intercept/-interceptable/index.md)`, WebAssertion<*>, Atom<*>>` Class for building WebView element matchers @@ -20,10 +20,23 @@ Class for building WebView element matchers | Name | Summary | |---|---| -| [<init>](-init-.md) | `WebElementBuilder(web: WebInteraction<*>)`
Class for building WebView element matchers | +| [<init>](-init-.md) | `WebElementBuilder(view: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md)`)`
Class for building WebView element matchers | + +### Properties + +| Name | Summary | +|---|---| +| [view](view.md) | `val view: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) | ### Functions | Name | Summary | |---|---| -| [withElement](with-element.md) | `fun withElement(locator: Locator, value: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, interaction: `[`KWebInteraction`](-k-web-interaction/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)
Looks up web view element and performs actions/assertions on it | +| [withElement](with-element.md) | `fun withElement(locator: Locator, value: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, interaction: `[`WebElementBuilder.KWebInteraction`](-k-web-interaction/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)
Looks up web view element and performs actions/assertions on it | + +### Inherited Functions + +| Name | Summary | +|---|---| +| [intercept](../../com.agoda.kakao.intercept/-interceptable/intercept.md) | `open fun intercept(builder: `[`Interceptor.Builder`](../../com.agoda.kakao.intercept/-interceptor/-builder/index.md)`<`[`INTERACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#INTERACTION)`, `[`ASSERTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ASSERTION)`, `[`ACTION`](../../com.agoda.kakao.intercept/-interceptable/index.md#ACTION)`>.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Sets the interceptors for the instance. Interceptors will be invoked on the interaction with the KView. | +| [reset](../../com.agoda.kakao.intercept/-interceptable/reset.md) | `open fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the instance. | diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/view.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/view.md new file mode 100644 index 00000000..720e3bd8 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/view.md @@ -0,0 +1,8 @@ +[kakao](../../index.md) / [com.agoda.kakao.web](../index.md) / [WebElementBuilder](index.md) / [view](./view.md) + +# view + +`val view: `[`WebInteractionDelegate`](../../com.agoda.kakao.delegate/-web-interaction-delegate/index.md) + +Overrides [Interceptable.view](../../com.agoda.kakao.intercept/-interceptable/view.md) + diff --git a/docs/kakao/com.agoda.kakao.web/-web-element-builder/with-element.md b/docs/kakao/com.agoda.kakao.web/-web-element-builder/with-element.md index 6c992190..c3cc7d7b 100644 --- a/docs/kakao/com.agoda.kakao.web/-web-element-builder/with-element.md +++ b/docs/kakao/com.agoda.kakao.web/-web-element-builder/with-element.md @@ -2,7 +2,7 @@ # withElement -`fun withElement(locator: Locator, value: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, interaction: `[`KWebInteraction`](-k-web-interaction/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) +`fun withElement(locator: Locator, value: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`, interaction: `[`WebElementBuilder.KWebInteraction`](-k-web-interaction/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) Looks up web view element and performs actions/assertions on it diff --git a/docs/kakao/com.agoda.kakao.web/index.md b/docs/kakao/com.agoda.kakao.web/index.md index 8cd33116..382b42b4 100644 --- a/docs/kakao/com.agoda.kakao.web/index.md +++ b/docs/kakao/com.agoda.kakao.web/index.md @@ -9,4 +9,4 @@ | [KWebView](-k-web-view/index.md) | `open class KWebView`
Class for interacting with WebViews | | [WebActions](-web-actions/index.md) | `interface WebActions`
Provides action for interacting with WebViews | | [WebAssertions](-web-assertions/index.md) | `interface WebAssertions`
Interface that provides assertions for WebViews | -| [WebElementBuilder](-web-element-builder/index.md) | `class WebElementBuilder`
Class for building WebView element matchers | +| [WebElementBuilder](-web-element-builder/index.md) | `class WebElementBuilder : `[`Interceptable`](../com.agoda.kakao.intercept/-interceptable/index.md)`, WebAssertion<*>, Atom<*>>`
Class for building WebView element matchers | diff --git a/docs/kakao/com.agoda.kakao/-kakao/index.md b/docs/kakao/com.agoda.kakao/-kakao/index.md new file mode 100644 index 00000000..9cb9f15d --- /dev/null +++ b/docs/kakao/com.agoda.kakao/-kakao/index.md @@ -0,0 +1,13 @@ +[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [Kakao](./index.md) + +# Kakao + +`object Kakao` + +### Functions + +| Name | Summary | +|---|---| +| [intercept](intercept.md) | `fun intercept(configurator: `[`Interceptor.Configurator`](../../com.agoda.kakao.intercept/-interceptor/-configurator/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)
Sets the interceptors for the whole Kakao runtime. Interceptors will be invoked on all of the interactions with the KView instances. | +| [invoke](invoke.md) | `operator fun invoke(function: `[`Kakao`](./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)
Operator that allows usage of DSL style | +| [reset](reset.md) | `fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Removes the interceptors from the Kakao runtime. | diff --git a/docs/kakao/com.agoda.kakao/-kakao/intercept.md b/docs/kakao/com.agoda.kakao/-kakao/intercept.md new file mode 100644 index 00000000..296b0b91 --- /dev/null +++ b/docs/kakao/com.agoda.kakao/-kakao/intercept.md @@ -0,0 +1,17 @@ +[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [Kakao](index.md) / [intercept](./intercept.md) + +# intercept + +`fun intercept(configurator: `[`Interceptor.Configurator`](../../com.agoda.kakao.intercept/-interceptor/-configurator/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) + +Sets the interceptors for the whole Kakao runtime. +Interceptors will be invoked on all of the interactions with the KView instances. + +### Parameters + +`configurator` - Configuration of the interceptors + +**See Also** + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao/-kakao/invoke.md b/docs/kakao/com.agoda.kakao/-kakao/invoke.md new file mode 100644 index 00000000..709fefd5 --- /dev/null +++ b/docs/kakao/com.agoda.kakao/-kakao/invoke.md @@ -0,0 +1,11 @@ +[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [Kakao](index.md) / [invoke](./invoke.md) + +# invoke + +`operator fun invoke(function: `[`Kakao`](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) + +Operator that allows usage of DSL style + +### Parameters + +`function` - Tail lambda with receiver which is your Kakao runtime \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao/-kakao/reset.md b/docs/kakao/com.agoda.kakao/-kakao/reset.md new file mode 100644 index 00000000..7e38ae76 --- /dev/null +++ b/docs/kakao/com.agoda.kakao/-kakao/reset.md @@ -0,0 +1,14 @@ +[kakao](../../index.md) / [com.agoda.kakao](../index.md) / [Kakao](index.md) / [reset](./reset.md) + +# reset + +`fun reset(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Removes the interceptors from the Kakao runtime. + +**See Also** + +[intercept](intercept.md) + +[Interceptor](../../com.agoda.kakao.intercept/-interceptor/index.md) + diff --git a/docs/kakao/com.agoda.kakao/index.md b/docs/kakao/com.agoda.kakao/index.md index 5c8207d7..71aa140c 100644 --- a/docs/kakao/com.agoda.kakao/index.md +++ b/docs/kakao/com.agoda.kakao/index.md @@ -6,114 +6,4 @@ | Name | Summary | |---|---| -| [ActivityResultBuilder](-activity-result-builder/index.md) | `class ActivityResultBuilder`
Class for building ActivityResult | -| [AdapterAssertions](-adapter-assertions/index.md) | `interface AdapterAssertions`
Provides assertions for view with adapters | -| [AnyTextMatcher](-any-text-matcher/index.md) | `class AnyTextMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`TextView`](https://developer.android.com/reference/android/widget/TextView.html)`>`
Matches TextView views which contains any text | -| [BackgroundColorMatcher](-background-color-matcher/index.md) | `class BackgroundColorMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches given background color with the current one | -| [BaseActions](-base-actions/index.md) | `interface BaseActions`
Base interface for performing actions on view | -| [BaseAssertions](-base-assertions/index.md) | `interface BaseAssertions`
Base interface for asserting views | -| [BottomNavigationViewActions](-bottom-navigation-view-actions/index.md) | `interface BottomNavigationViewActions : `[`BaseActions`](-base-actions/index.md)
Provides actions for BottomNavigationView | -| [BottomNavigationViewAssertions](-bottom-navigation-view-assertions/index.md) | `interface BottomNavigationViewAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertion for BottomNavigationview | -| [BundleBuilder](-bundle-builder/index.md) | `class BundleBuilder`
Class for building Bundle matchers | -| [CheckableActions](-checkable-actions/index.md) | `interface CheckableActions : `[`BaseActions`](-base-actions/index.md)
Provides action for checking views | -| [CheckableAssertions](-checkable-assertions/index.md) | `interface CheckableAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides checkable based assertions for views | -| [ComponentNameBuilder](-component-name-builder/index.md) | `class ComponentNameBuilder`
Class for building ComponentName matchers | -| [DataBuilder](-data-builder/index.md) | `class DataBuilder`
Class for building data matchers | -| [DrawableMatcher](-drawable-matcher/index.md) | `class DrawableMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches given drawable with current one | -| [DrawerActions](-drawer-actions/index.md) | `interface DrawerActions : `[`BaseActions`](-base-actions/index.md)
Provides actions for navigation drawer | -| [EditableActions](-editable-actions/index.md) | `interface EditableActions : `[`BaseActions`](-base-actions/index.md)
Provides editable actions for views | -| [EditableAssertions](-editable-assertions/index.md) | `interface EditableAssertions : `[`TextViewAssertions`](-text-view-assertions/index.md)
Provides editable based assertions for views | -| [FirstViewMatcher](-first-view-matcher/index.md) | `class FirstViewMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches first view | -| [ImageViewAssertions](-image-view-assertions/index.md) | `interface ImageViewAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertion for image views | -| [IndexMatcher](-index-matcher/index.md) | `class IndexMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches index'th view that matches given matcher | -| [IntentBuilder](-intent-builder/index.md) | `class IntentBuilder`
Class for building Intent matchers | -| [ItemMatcher](-item-matcher/index.md) | `class ItemMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches first RecyclerView descendant which matches specific matcher | -| [KAdapterItem](-k-adapter-item/index.md) | `open class KAdapterItem : `[`BaseActions`](-base-actions/index.md)`, `[`BaseAssertions`](-base-assertions/index.md)
Base class for KRecyclerView adapter items | -| [KAdapterItemType](-k-adapter-item-type/index.md) | `class KAdapterItemType>`
For internal use. Don't use manually. | -| [KAdapterItemTypeBuilder](-k-adapter-item-type-builder/index.md) | `class KAdapterItemTypeBuilder`
Class that maps types to providing functions | -| [KBaseView](-k-base-view/index.md) | `open class KBaseView : `[`BaseActions`](-base-actions/index.md)`, `[`BaseAssertions`](-base-assertions/index.md)
Base class for all Kakao views | -| [KBottomNavigationView](-k-bottom-navigation-view/index.md) | `class KBottomNavigationView : `[`KBaseView`](-k-base-view/index.md)`<`[`KBottomNavigationView`](-k-bottom-navigation-view/index.md)`>, `[`BottomNavigationViewActions`](-bottom-navigation-view-actions/index.md)`, `[`BottomNavigationViewAssertions`](-bottom-navigation-view-assertions/index.md)
View for acting and asserting on BottomNavigationView | -| [KButton](-k-button/index.md) | `class KButton : `[`KBaseView`](-k-base-view/index.md)`<`[`KButton`](-k-button/index.md)`>, `[`TextViewAssertions`](-text-view-assertions/index.md)
View with BaseActions and TextViewAssertions | -| [KCheckBox](-k-check-box/index.md) | `class KCheckBox : `[`KBaseView`](-k-base-view/index.md)`<`[`KCheckBox`](-k-check-box/index.md)`>, `[`CheckableActions`](-checkable-actions/index.md)`, `[`TextViewAssertions`](-text-view-assertions/index.md)`, `[`CheckableAssertions`](-checkable-assertions/index.md)
View with CheckableActions, CheckableAssertions and TextViewAssertions | -| [KDrawerView](-k-drawer-view/index.md) | `class KDrawerView : `[`KBaseView`](-k-base-view/index.md)`<`[`KDrawerView`](-k-drawer-view/index.md)`>, `[`DrawerActions`](-drawer-actions/index.md)
View with DrawerActions and BaseAssertions | -| [KEditText](-k-edit-text/index.md) | `class KEditText : `[`KBaseView`](-k-base-view/index.md)`<`[`KEditText`](-k-edit-text/index.md)`>, `[`EditableActions`](-editable-actions/index.md)`, `[`EditableAssertions`](-editable-assertions/index.md)
View with EditableActions and EditableAssertions | -| [KEmptyAdapterItem](-k-empty-adapter-item/index.md) | `class KEmptyAdapterItem : `[`KAdapterItem`](-k-adapter-item/index.md)`<`[`KEmptyAdapterItem`](-k-empty-adapter-item/index.md)`>`
Empty implementation of KAdapterItem | -| [KEmptyRecyclerItem](-k-empty-recycler-item/index.md) | `class KEmptyRecyclerItem : `[`KRecyclerItem`](-k-recycler-item/index.md)`<`[`KEmptyRecyclerItem`](-k-empty-recycler-item/index.md)`>`
Empty implementation of KRecyclerItem | -| [KImageView](-k-image-view/index.md) | `class KImageView : `[`KBaseView`](-k-base-view/index.md)`<`[`KImageView`](-k-image-view/index.md)`>, `[`ImageViewAssertions`](-image-view-assertions/index.md)
View with BaseActions and ImageViewAssertions | -| [KIntent](-k-intent/index.md) | `class KIntent`
This class is intended to be used when you need to check if some intent has been sent or to mock specific intent with result | -| [KListView](-k-list-view/index.md) | `class KListView : `[`ScrollViewActions`](-scroll-view-actions/index.md)`, `[`BaseAssertions`](-base-assertions/index.md)`, `[`ListViewAdapterAssertions`](-list-view-adapter-assertions/index.md)
View with ScrollViewActions and BaseAssertions. Gives access to it's children | -| [KNavigationView](-k-navigation-view/index.md) | `class KNavigationView : `[`KBaseView`](-k-base-view/index.md)`<`[`KNavigationView`](-k-navigation-view/index.md)`>, `[`NavigationViewActions`](-navigation-view-actions/index.md)`, `[`NavigationViewAssertions`](-navigation-view-assertions/index.md)
View with NavigationViewActions and NavigationViewAssertions | -| [KProgressBar](-k-progress-bar/index.md) | `class KProgressBar : `[`KBaseView`](-k-base-view/index.md)`<`[`KProgressBar`](-k-progress-bar/index.md)`>, `[`ProgressBarActions`](-progress-bar-actions/index.md)`, `[`ProgressBarAssertions`](-progress-bar-assertions/index.md)
View with ProgressBarActions and ProgressBarAssertions | -| [KRatingBar](-k-rating-bar/index.md) | `class KRatingBar : `[`KBaseView`](-k-base-view/index.md)`<`[`KRatingBar`](-k-rating-bar/index.md)`>, `[`RatingBarActions`](-rating-bar-actions/index.md)`, `[`RatingBarAssertions`](-rating-bar-assertions/index.md)
View with RatingBarActions and RatingBarAssertions | -| [KRecyclerItem](-k-recycler-item/index.md) | `open class KRecyclerItem : `[`BaseActions`](-base-actions/index.md)`, `[`BaseAssertions`](-base-assertions/index.md)
Base class for KRecyclerView adapter items | -| [KRecyclerItemType](-k-recycler-item-type/index.md) | `class KRecyclerItemType>`
For internal use. Don't use manually. | -| [KRecyclerItemTypeBuilder](-k-recycler-item-type-builder/index.md) | `class KRecyclerItemTypeBuilder`
Class that maps types to providing functions | -| [KRecyclerView](-k-recycler-view/index.md) | `class KRecyclerView : `[`RecyclerActions`](-recycler-actions/index.md)`, `[`BaseAssertions`](-base-assertions/index.md)`, `[`RecyclerAdapterAssertions`](-recycler-adapter-assertions/index.md)
View with RecyclerActions and BaseAssertions. Gives access to it's children | -| [KSeekBar](-k-seek-bar/index.md) | `class KSeekBar : `[`KBaseView`](-k-base-view/index.md)`<`[`KSeekBar`](-k-seek-bar/index.md)`>, `[`SeekBarActions`](-seek-bar-actions/index.md)`, `[`ProgressBarAssertions`](-progress-bar-assertions/index.md)
View with SeekBarActions and ProgressBarAssertions | -| [KSnackbar](-k-snackbar/index.md) | `class KSnackbar : `[`KBaseView`](-k-base-view/index.md)`<`[`KSnackbar`](-k-snackbar/index.md)`>`
View with internal TextView and a Button | -| [KSwipeRefreshLayout](-k-swipe-refresh-layout/index.md) | `class KSwipeRefreshLayout : `[`KBaseView`](-k-base-view/index.md)`<`[`KSwipeRefreshLayout`](-k-swipe-refresh-layout/index.md)`>, `[`SwipeRefreshLayoutActions`](-swipe-refresh-layout-actions/index.md)`, `[`SwipeRefreshLayoutAssertions`](-swipe-refresh-layout-assertions/index.md)
View with SwipeRefreshLayoutActions and SwipeRefreshLayoutAssertions | -| [KSwipeView](-k-swipe-view/index.md) | `class KSwipeView : `[`KBaseView`](-k-base-view/index.md)`<`[`KSwipeView`](-k-swipe-view/index.md)`>, `[`SwipeableActions`](-swipeable-actions/index.md)
View with SwipeableActions and BaseAssertions | -| [KTabLayout](-k-tab-layout/index.md) | `class KTabLayout : `[`KBaseView`](-k-base-view/index.md)`<`[`KTabLayout`](-k-tab-layout/index.md)`>, `[`TabLayoutActions`](-tab-layout-actions/index.md)`, `[`TabLayoutAssertions`](-tab-layout-assertions/index.md)
View with TabLayoutActions and TabLayoutAssertions | -| [KTextInputLayout](-k-text-input-layout/index.md) | `class KTextInputLayout : `[`KBaseView`](-k-base-view/index.md)`<`[`KTextInputLayout`](-k-text-input-layout/index.md)`>, `[`TextInputLayoutAssertions`](-text-input-layout-assertions/index.md)
View with TextInputLayoutAssertions | -| [KTextView](-k-text-view/index.md) | `class KTextView : `[`KBaseView`](-k-base-view/index.md)`<`[`KTextView`](-k-text-view/index.md)`>, `[`TextViewActions`](-text-view-actions/index.md)`, `[`TextViewAssertions`](-text-view-assertions/index.md)
View with BaseActions and TextViewAssertions | -| [KView](-k-view/index.md) | `class KView : `[`KBaseView`](-k-base-view/index.md)`<`[`KView`](-k-view/index.md)`>`
Simple view with BaseActions and BaseAssertions | -| [KViewPager](-k-view-pager/index.md) | `class KViewPager : `[`KBaseView`](-k-base-view/index.md)`<`[`KViewPager`](-k-view-pager/index.md)`>, `[`SwipeableActions`](-swipeable-actions/index.md)`, `[`ViewPagerAssertions`](-view-pager-assertions/index.md)
View with SwipeableActions and ViewPagerAssertions | -| [KWebView](-k-web-view/index.md) | `open class KWebView`
Class for interacting with WebViews | -| [ListViewAdapterAssertions](-list-view-adapter-assertions/index.md) | `interface ListViewAdapterAssertions : `[`AdapterAssertions`](-adapter-assertions/index.md)
Provides assertions for listView adapter | -| [ListViewViewAdapterSizeMatcher](-list-view-view-adapter-size-matcher/index.md) | `class ListViewViewAdapterSizeMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`ListView`](https://developer.android.com/reference/android/widget/ListView.html)`>`
Matches ListView with count of children | -| [NavigationItemMatcher](-navigation-item-matcher/index.md) | `class NavigationItemMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, NavigationView>`
Matches NavigationView with given item id checked | -| [NavigationViewActions](-navigation-view-actions/index.md) | `interface NavigationViewActions : `[`BaseActions`](-base-actions/index.md)
Provides actions for navigation view | -| [NavigationViewAssertions](-navigation-view-assertions/index.md) | `interface NavigationViewAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertions for NavigationView | -| [PageMatcher](-page-matcher/index.md) | `class PageMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, ViewPager>`
Matches ViewPager which page index equals given | -| [PositionMatcher](-position-matcher/index.md) | `class PositionMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`View`](https://developer.android.com/reference/android/view/View.html)`>`
Matches RecyclerView descendant at given position in adapter | -| [PreciseSwipe](-precise-swipe/index.md) | `object PreciseSwipe : Swiper` | -| [ProgressBarActions](-progress-bar-actions/index.md) | `interface ProgressBarActions : `[`BaseActions`](-base-actions/index.md)
Provides action for ProgressBar | -| [ProgressBarAssertions](-progress-bar-assertions/index.md) | `interface ProgressBarAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertions for progress bar | -| [ProgressMatcher](-progress-matcher/index.md) | `class ProgressMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`ProgressBar`](https://developer.android.com/reference/android/widget/ProgressBar.html)`>`
Matcher of value progress of given matcher | -| [RatingBarActions](-rating-bar-actions/index.md) | `interface RatingBarActions : `[`BaseActions`](-base-actions/index.md)
Provides action for RatingBar | -| [RatingBarAssertions](-rating-bar-assertions/index.md) | `interface RatingBarAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertions for RatingBar | -| [RatingBarMatcher](-rating-bar-matcher/index.md) | `class RatingBarMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, `[`RatingBar`](https://developer.android.com/reference/android/widget/RatingBar.html)`>`
Matcher of value rating of given matcher | -| [RecyclerActions](-recycler-actions/index.md) | `interface RecyclerActions : `[`ScrollableActions`](-scrollable-actions/index.md)`, `[`SwipeableActions`](-swipeable-actions/index.md)
Provides ScrollableActions implementation for RecyclerView | -| [RecyclerAdapterAssertions](-recycler-adapter-assertions/index.md) | `interface RecyclerAdapterAssertions : `[`AdapterAssertions`](-adapter-assertions/index.md)
Provides assertions for recyclerView adapter | -| [RecyclerViewAdapterSizeMatcher](-recycler-view-adapter-size-matcher/index.md) | `class RecyclerViewAdapterSizeMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, RecyclerView>`
Matches RecyclerView with count of children | -| [RootBuilder](-root-builder/index.md) | `class RootBuilder`
Class for building root matchers | -| [Screen](-screen/index.md) | `open class Screen> : `[`ScreenActions`](-screen-actions/index.md)
Container class for UI elements. | -| [ScreenActions](-screen-actions/index.md) | `interface ScreenActions`
Interface with common actions for all screens | -| [ScrollViewActions](-scroll-view-actions/index.md) | `interface ScrollViewActions : `[`ScrollableActions`](-scrollable-actions/index.md)`, `[`SwipeableActions`](-swipeable-actions/index.md)
Provides ScrollableActions implementation for ScrollView | -| [ScrollableActions](-scrollable-actions/index.md) | `interface ScrollableActions : `[`BaseActions`](-base-actions/index.md)
Provides scrolling actions for view | -| [SeekBarActions](-seek-bar-actions/index.md) | `interface SeekBarActions : `[`ProgressBarActions`](-progress-bar-actions/index.md)
Provides action for SeekBar | -| [SwipeRefreshLayoutActions](-swipe-refresh-layout-actions/index.md) | `interface SwipeRefreshLayoutActions : `[`SwipeableActions`](-swipeable-actions/index.md)
Provides actions for SwipeRefreshLayout | -| [SwipeRefreshLayoutAssertions](-swipe-refresh-layout-assertions/index.md) | `interface SwipeRefreshLayoutAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertion for SwipeRefreshLayout | -| [SwipeRefreshLayoutMatcher](-swipe-refresh-layout-matcher/index.md) | `class SwipeRefreshLayoutMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` | -| [SwipeableActions](-swipeable-actions/index.md) | `interface SwipeableActions : `[`BaseActions`](-base-actions/index.md)
Provides swipe actions for views | -| [TabLayoutActions](-tab-layout-actions/index.md) | `interface TabLayoutActions : `[`BaseActions`](-base-actions/index.md)
Provides action for TabLayout | -| [TabLayoutAssertions](-tab-layout-assertions/index.md) | `interface TabLayoutAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertions for TabLayout | -| [TextInputLayoutAssertions](-text-input-layout-assertions/index.md) | `interface TextInputLayoutAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertions for TextInputLayout | -| [TextInputLayoutCounterEnabledMatcher](-text-input-layout-counter-enabled-matcher/index.md) | `class TextInputLayoutCounterEnabledMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` | -| [TextInputLayoutErrorEnabledMatcher](-text-input-layout-error-enabled-matcher/index.md) | `class TextInputLayoutErrorEnabledMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` | -| [TextInputLayoutHintEnabledMatcher](-text-input-layout-hint-enabled-matcher/index.md) | `class TextInputLayoutHintEnabledMatcher : TypeSafeMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`>` | -| [TextViewActions](-text-view-actions/index.md) | `interface TextViewActions : `[`BaseActions`](-base-actions/index.md)
Provides actions for TextViews | -| [TextViewAssertions](-text-view-assertions/index.md) | `interface TextViewAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides text based assertions for views | -| [UriBuilder](-uri-builder/index.md) | `class UriBuilder`
Class for building Uri matchers | -| [ViewBuilder](-view-builder/index.md) | `class ViewBuilder`
Class for building view matchers and interactions | -| [ViewPagerAssertions](-view-pager-assertions/index.md) | `interface ViewPagerAssertions : `[`BaseAssertions`](-base-assertions/index.md)
Provides assertions for view pagers | -| [WebActions](-web-actions/index.md) | `interface WebActions`
Provides action for interacting with WebViews | -| [WebAssertions](-web-assertions/index.md) | `interface WebAssertions`
Interface that provides assertions for WebViews | -| [WebElementBuilder](-web-element-builder/index.md) | `class WebElementBuilder`
Class for building WebView element matchers | - -### Annotations - -| Name | Summary | -|---|---| -| [BuilderMarker](-builder-marker/index.md) | `annotation class BuilderMarker` | -| [ScreenMarker](-screen-marker/index.md) | `annotation class ScreenMarker` | -| [ViewMarker](-view-marker/index.md) | `annotation class ViewMarker` | - -### Functions - -| Name | Summary | -|---|---| -| [emptyChildAt](empty-child-at.md) | `fun `[`KRecyclerView`](-k-recycler-view/index.md)`.emptyChildAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tail: `[`KEmptyRecyclerItem`](-k-empty-recycler-item/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)
`fun `[`KListView`](-k-list-view/index.md)`.emptyChildAt(position: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, tail: `[`KEmptyAdapterItem`](-k-empty-adapter-item/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)
Calls childAt() on your view with base child | -| [emptyChildWith](empty-child-with.md) | `fun `[`KRecyclerView`](-k-recycler-view/index.md)`.emptyChildWith(builder: `[`ViewBuilder`](-view-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KEmptyRecyclerItem`](-k-empty-recycler-item/index.md)
`fun `[`KListView`](-k-list-view/index.md)`.emptyChildWith(builder: `[`DataBuilder`](-data-builder/index.md)`.() -> `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)`): `[`KEmptyAdapterItem`](-k-empty-adapter-item/index.md)
Calls childWith() on your view with base child | -| [emptyFirstChild](empty-first-child.md) | `fun `[`KRecyclerView`](-k-recycler-view/index.md)`.emptyFirstChild(tail: `[`KEmptyRecyclerItem`](-k-empty-recycler-item/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)
`fun `[`KListView`](-k-list-view/index.md)`.emptyFirstChild(tail: `[`KEmptyAdapterItem`](-k-empty-adapter-item/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)
Calls firstChild() on your view with base child | -| [emptyLastChild](empty-last-child.md) | `fun `[`KRecyclerView`](-k-recycler-view/index.md)`.emptyLastChild(tail: `[`KEmptyRecyclerItem`](-k-empty-recycler-item/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)
`fun `[`KListView`](-k-list-view/index.md)`.emptyLastChild(tail: `[`KEmptyAdapterItem`](-k-empty-adapter-item/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)
Calls lastChild() on your view with base child | +| [Kakao](-kakao/index.md) | `object Kakao` | diff --git a/docs/kakao/index.md b/docs/kakao/index.md index 675b53f3..4a2fc9be 100644 --- a/docs/kakao/index.md +++ b/docs/kakao/index.md @@ -4,6 +4,7 @@ | Name | Summary | |---|---| +| [com.agoda.kakao](com.agoda.kakao/index.md) | | | [com.agoda.kakao.bottomnav](com.agoda.kakao.bottomnav/index.md) | | | [com.agoda.kakao.check](com.agoda.kakao.check/index.md) | | | [com.agoda.kakao.common](com.agoda.kakao.common/index.md) | | @@ -12,17 +13,22 @@ | [com.agoda.kakao.common.builders](com.agoda.kakao.common.builders/index.md) | | | [com.agoda.kakao.common.matchers](com.agoda.kakao.common.matchers/index.md) | | | [com.agoda.kakao.common.views](com.agoda.kakao.common.views/index.md) | | +| [com.agoda.kakao.delegate](com.agoda.kakao.delegate/index.md) | | | [com.agoda.kakao.drawer](com.agoda.kakao.drawer/index.md) | | | [com.agoda.kakao.edit](com.agoda.kakao.edit/index.md) | | | [com.agoda.kakao.image](com.agoda.kakao.image/index.md) | | | [com.agoda.kakao.intent](com.agoda.kakao.intent/index.md) | | +| [com.agoda.kakao.intercept](com.agoda.kakao.intercept/index.md) | | | [com.agoda.kakao.list](com.agoda.kakao.list/index.md) | | | [com.agoda.kakao.navigation](com.agoda.kakao.navigation/index.md) | | | [com.agoda.kakao.pager](com.agoda.kakao.pager/index.md) | | +| [com.agoda.kakao.picker.date](com.agoda.kakao.picker.date/index.md) | | +| [com.agoda.kakao.picker.time](com.agoda.kakao.picker.time/index.md) | | | [com.agoda.kakao.progress](com.agoda.kakao.progress/index.md) | | | [com.agoda.kakao.rating](com.agoda.kakao.rating/index.md) | | | [com.agoda.kakao.recycler](com.agoda.kakao.recycler/index.md) | | | [com.agoda.kakao.screen](com.agoda.kakao.screen/index.md) | | +| [com.agoda.kakao.scroll](com.agoda.kakao.scroll/index.md) | | | [com.agoda.kakao.swiperefresh](com.agoda.kakao.swiperefresh/index.md) | | | [com.agoda.kakao.tabs](com.agoda.kakao.tabs/index.md) | | | [com.agoda.kakao.text](com.agoda.kakao.text/index.md) | | diff --git a/docs/kakao/package-list b/docs/kakao/package-list index f4eed6b0..118d8294 100644 --- a/docs/kakao/package-list +++ b/docs/kakao/package-list @@ -1,6 +1,7 @@ $dokka.format:gfm $dokka.linkExtension:md +com.agoda.kakao com.agoda.kakao.bottomnav com.agoda.kakao.check com.agoda.kakao.common @@ -9,17 +10,22 @@ com.agoda.kakao.common.assertions com.agoda.kakao.common.builders com.agoda.kakao.common.matchers com.agoda.kakao.common.views +com.agoda.kakao.delegate com.agoda.kakao.drawer com.agoda.kakao.edit com.agoda.kakao.image com.agoda.kakao.intent +com.agoda.kakao.intercept com.agoda.kakao.list com.agoda.kakao.navigation com.agoda.kakao.pager +com.agoda.kakao.picker.date +com.agoda.kakao.picker.time com.agoda.kakao.progress com.agoda.kakao.rating com.agoda.kakao.recycler com.agoda.kakao.screen +com.agoda.kakao.scroll com.agoda.kakao.swiperefresh com.agoda.kakao.tabs com.agoda.kakao.text diff --git a/gradle/wrapper/gradle-wrapper.properties b/gradle/wrapper/gradle-wrapper.properties index 04f1e8c0..eca5250d 100644 --- a/gradle/wrapper/gradle-wrapper.properties +++ b/gradle/wrapper/gradle-wrapper.properties @@ -1,6 +1,6 @@ -#Thu Feb 21 15:11:03 ICT 2019 +#Wed Jul 10 10:29:40 ICT 2019 distributionBase=GRADLE_USER_HOME distributionPath=wrapper/dists zipStoreBase=GRADLE_USER_HOME zipStorePath=wrapper/dists -distributionUrl=https\://services.gradle.org/distributions/gradle-4.10.1-all.zip +distributionUrl=https\://services.gradle.org/distributions/gradle-5.1.1-all.zip