From 99c5543f1aef9940b3f15e0dc600ee37cfb48479 Mon Sep 17 00:00:00 2001 From: Vacxe Date: Fri, 12 Jun 2020 22:41:32 -0700 Subject: [PATCH] Release 2.3.3 notes update --- docs/kakao/alltypes/index.md | 1 + .../-toolbar-navigation-matcher/-init-.md | 7 ++++++ .../describe-to.md | 5 ++++ .../-toolbar-navigation-matcher/drawable.md | 5 ++++ .../-toolbar-navigation-matcher/index.md | 25 +++++++++++++++++++ .../matches-safely.md | 5 ++++ .../-toolbar-navigation-matcher/res-id.md | 5 ++++ .../com.agoda.kakao.common.matchers/index.md | 1 + .../get-resource-color.md | 5 ++++ .../get-resource-drawable.md | 5 ++++ .../get-resource-string.md | 5 ++++ .../com.agoda.kakao.common.utilities/index.md | 11 ++++++++ .../-k-text-input-layout/index.md | 4 +-- .../has-error.md | 1 + .../-text-input-layout-assertions/has-hint.md | 1 + .../-text-input-layout-assertions/index.md | 4 +-- .../-k-toolbar/index.md | 1 + .../has-home-as-up-indicator-drawable.md | 17 +++++++++++++ .../-toolbar-view-assertions/index.md | 1 + docs/kakao/index.md | 1 + docs/kakao/package-list | 1 + 21 files changed, 107 insertions(+), 4 deletions(-) create mode 100644 docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/-init-.md create mode 100644 docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/describe-to.md create mode 100644 docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/drawable.md create mode 100644 docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/index.md create mode 100644 docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/matches-safely.md create mode 100644 docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/res-id.md create mode 100644 docs/kakao/com.agoda.kakao.common.utilities/get-resource-color.md create mode 100644 docs/kakao/com.agoda.kakao.common.utilities/get-resource-drawable.md create mode 100644 docs/kakao/com.agoda.kakao.common.utilities/get-resource-string.md create mode 100644 docs/kakao/com.agoda.kakao.common.utilities/index.md create mode 100644 docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/has-home-as-up-indicator-drawable.md diff --git a/docs/kakao/alltypes/index.md b/docs/kakao/alltypes/index.md index 11796262..34878a1d 100644 --- a/docs/kakao/alltypes/index.md +++ b/docs/kakao/alltypes/index.md @@ -129,6 +129,7 @@ | [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.common.matchers.ToolbarNavigationMatcher](../com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/index.md) | | | [com.agoda.kakao.common.matchers.ToolbarSubtitleMatcher](../com.agoda.kakao.common.matchers/-toolbar-subtitle-matcher/index.md) | | | [com.agoda.kakao.common.matchers.ToolbarTitleMatcher](../com.agoda.kakao.common.matchers/-toolbar-title-matcher/index.md) | | | [com.agoda.kakao.toolbar.ToolbarViewActions](../com.agoda.kakao.toolbar/-toolbar-view-actions.md) | Provides actions for Toolbar | diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/-init-.md b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/-init-.md new file mode 100644 index 00000000..91d0dbff --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/-init-.md @@ -0,0 +1,7 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [ToolbarNavigationMatcher](index.md) / [<init>](./-init-.md) + +# <init> + +`ToolbarNavigationMatcher(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`)` +`ToolbarNavigationMatcher(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)` +`ToolbarNavigationMatcher(toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null)` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/describe-to.md b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/describe-to.md new file mode 100644 index 00000000..dd3ea4e9 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/describe-to.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [ToolbarNavigationMatcher](index.md) / [describeTo](./describe-to.md) + +# describeTo + +`fun describeTo(desc: 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/-toolbar-navigation-matcher/drawable.md b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/drawable.md new file mode 100644 index 00000000..80bc7c70 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/drawable.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [ToolbarNavigationMatcher](index.md) / [drawable](./drawable.md) + +# drawable + +`var drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/index.md b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/index.md new file mode 100644 index 00000000..a0d1b5c8 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/index.md @@ -0,0 +1,25 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [ToolbarNavigationMatcher](./index.md) + +# ToolbarNavigationMatcher + +`class ToolbarNavigationMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, Toolbar>` + +### Constructors + +| Name | Summary | +|---|---| +| [<init>](-init-.md) | `ToolbarNavigationMatcher(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`)`
`ToolbarNavigationMatcher(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)`
`ToolbarNavigationMatcher(toBitmap: ((drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`) -> `[`Bitmap`](https://developer.android.com/reference/android/graphics/Bitmap.html)`)? = null)` | + +### Properties + +| Name | Summary | +|---|---| +| [drawable](drawable.md) | `var drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`?` | +| [resId](res-id.md) | `var resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | + +### Functions + +| Name | Summary | +|---|---| +| [describeTo](describe-to.md) | `fun describeTo(desc: Description): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | +| [matchesSafely](matches-safely.md) | `fun matchesSafely(view: Toolbar): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) | diff --git a/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/matches-safely.md b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/matches-safely.md new file mode 100644 index 00000000..aab3831b --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/matches-safely.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [ToolbarNavigationMatcher](index.md) / [matchesSafely](./matches-safely.md) + +# matchesSafely + +`protected fun matchesSafely(view: Toolbar): `[`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/-toolbar-navigation-matcher/res-id.md b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/res-id.md new file mode 100644 index 00000000..66614f50 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/res-id.md @@ -0,0 +1,5 @@ +[kakao](../../index.md) / [com.agoda.kakao.common.matchers](../index.md) / [ToolbarNavigationMatcher](index.md) / [resId](./res-id.md) + +# resId + +`var resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.matchers/index.md b/docs/kakao/com.agoda.kakao.common.matchers/index.md index b0b87dad..89a2bec5 100644 --- a/docs/kakao/com.agoda.kakao.common.matchers/index.md +++ b/docs/kakao/com.agoda.kakao.common.matchers/index.md @@ -27,6 +27,7 @@ | [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)`>` | +| [ToolbarNavigationMatcher](-toolbar-navigation-matcher/index.md) | `class ToolbarNavigationMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, Toolbar>` | | [ToolbarSubtitleMatcher](-toolbar-subtitle-matcher/index.md) | `class ToolbarSubtitleMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, Toolbar>` | | [ToolbarTitleMatcher](-toolbar-title-matcher/index.md) | `class ToolbarTitleMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, Toolbar>` | | [ViewPager2AdapterSizeMatcher](-view-pager2-adapter-size-matcher/index.md) | `class ViewPager2AdapterSizeMatcher : BoundedMatcher<`[`View`](https://developer.android.com/reference/android/view/View.html)`, ViewPager2>`
Matches ViewPager2 with count of children | diff --git a/docs/kakao/com.agoda.kakao.common.utilities/get-resource-color.md b/docs/kakao/com.agoda.kakao.common.utilities/get-resource-color.md new file mode 100644 index 00000000..0001bc01 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.utilities/get-resource-color.md @@ -0,0 +1,5 @@ +[kakao](../index.md) / [com.agoda.kakao.common.utilities](index.md) / [getResourceColor](./get-resource-color.md) + +# getResourceColor + +`fun getResourceColor(@ColorRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.utilities/get-resource-drawable.md b/docs/kakao/com.agoda.kakao.common.utilities/get-resource-drawable.md new file mode 100644 index 00000000..23c5cf07 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.utilities/get-resource-drawable.md @@ -0,0 +1,5 @@ +[kakao](../index.md) / [com.agoda.kakao.common.utilities](index.md) / [getResourceDrawable](./get-resource-drawable.md) + +# getResourceDrawable + +`fun getResourceDrawable(@DrawableRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`?` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.utilities/get-resource-string.md b/docs/kakao/com.agoda.kakao.common.utilities/get-resource-string.md new file mode 100644 index 00000000..e2819e24 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.utilities/get-resource-string.md @@ -0,0 +1,5 @@ +[kakao](../index.md) / [com.agoda.kakao.common.utilities](index.md) / [getResourceString](./get-resource-string.md) + +# getResourceString + +`fun getResourceString(@StringRes resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!` \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.common.utilities/index.md b/docs/kakao/com.agoda.kakao.common.utilities/index.md new file mode 100644 index 00000000..ae23a2c5 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.common.utilities/index.md @@ -0,0 +1,11 @@ +[kakao](../index.md) / [com.agoda.kakao.common.utilities](./index.md) + +## Package com.agoda.kakao.common.utilities + +### Functions + +| Name | Summary | +|---|---| +| [getResourceColor](get-resource-color.md) | `fun getResourceColor(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html) | +| [getResourceDrawable](get-resource-drawable.md) | `fun getResourceDrawable(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`?` | +| [getResourceString](get-resource-string.md) | `fun getResourceString(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`!` | 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 d55de9e4..8ca108bf 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 @@ -34,8 +34,8 @@ View with TextInputLayoutAssertions | Name | Summary | |---|---| | [hasCounterMaxLength](../-text-input-layout-assertions/has-counter-max-length.md) | `open fun hasCounterMaxLength(length: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | -| [hasError](../-text-input-layout-assertions/has-error.md) | `open fun hasError(error: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | -| [hasHint](../-text-input-layout-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)
Checks if this input layout has given hint | +| [hasError](../-text-input-layout-assertions/has-error.md) | `open fun hasError(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 hasError(error: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | +| [hasHint](../-text-input-layout-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)
Checks if this input layout has given hint`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) | | [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 | | [isCounterDisabled](../-text-input-layout-assertions/is-counter-disabled.md) | `open fun isCounterDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [isCounterEnabled](../-text-input-layout-assertions/is-counter-enabled.md) | `open fun isCounterEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | diff --git a/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-error.md b/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-error.md index 2080520d..1f0f68ce 100644 --- a/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-error.md +++ b/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-error.md @@ -2,4 +2,5 @@ # hasError +`open fun hasError(@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) `open fun hasError(error: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`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.edit/-text-input-layout-assertions/has-hint.md b/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-hint.md index 2dd04177..7f67fcad 100644 --- a/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-hint.md +++ b/docs/kakao/com.agoda.kakao.edit/-text-input-layout-assertions/has-hint.md @@ -10,3 +10,4 @@ Checks if this input layout has given hint `hint` - * hint text to be checked +`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) \ No newline at end of file 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 a15e07f4..38dc5f8a 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 @@ -18,8 +18,8 @@ Provides assertions for TextInputLayout | Name | Summary | |---|---| | [hasCounterMaxLength](has-counter-max-length.md) | `open fun hasCounterMaxLength(length: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | -| [hasError](has-error.md) | `open fun hasError(error: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | -| [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)
Checks if this input layout has given hint | +| [hasError](has-error.md) | `open fun hasError(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 hasError(error: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | +| [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)
Checks if this input layout has given hint`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) | | [isCounterDisabled](is-counter-disabled.md) | `open fun isCounterDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [isCounterEnabled](is-counter-enabled.md) | `open fun isCounterEnabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | | [isErrorDisabled](is-error-disabled.md) | `open fun isErrorDisabled(): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) | diff --git a/docs/kakao/com.agoda.kakao.toolbar/-k-toolbar/index.md b/docs/kakao/com.agoda.kakao.toolbar/-k-toolbar/index.md index 13f4b12d..c65ceed5 100644 --- a/docs/kakao/com.agoda.kakao.toolbar/-k-toolbar/index.md +++ b/docs/kakao/com.agoda.kakao.toolbar/-k-toolbar/index.md @@ -29,6 +29,7 @@ View for acting and asserting on Toolbar | Name | Summary | |---|---| +| [hasHomeAsUpIndicatorDrawable](../-toolbar-view-assertions/has-home-as-up-indicator-drawable.md) | `open fun hasHomeAsUpIndicatorDrawable(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 hasHomeAsUpIndicatorDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if Toolbar has navigation icon | | [hasSubtitle](../-toolbar-view-assertions/has-subtitle.md) | `open fun hasSubtitle(subtitle: `[`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 hasSubtitle(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 Toolbar has subtitle | | [hasTitle](../-toolbar-view-assertions/has-title.md) | `open fun hasTitle(title: `[`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 hasTitle(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 Toolbar has title | | [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 | diff --git a/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/has-home-as-up-indicator-drawable.md b/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/has-home-as-up-indicator-drawable.md new file mode 100644 index 00000000..20e43d67 --- /dev/null +++ b/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/has-home-as-up-indicator-drawable.md @@ -0,0 +1,17 @@ +[kakao](../../index.md) / [com.agoda.kakao.toolbar](../index.md) / [ToolbarViewAssertions](index.md) / [hasHomeAsUpIndicatorDrawable](./has-home-as-up-indicator-drawable.md) + +# hasHomeAsUpIndicatorDrawable + +`open fun hasHomeAsUpIndicatorDrawable(@DrawableRes 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 Toolbar has navigation icon + +### Parameters + +`resId` - expected drawable resource id`open fun hasHomeAsUpIndicatorDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) + +Checks if Toolbar has navigation icon + +### Parameters + +`drawable` - expected drawable \ No newline at end of file diff --git a/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/index.md b/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/index.md index 50af7cfd..3a269258 100644 --- a/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/index.md +++ b/docs/kakao/com.agoda.kakao.toolbar/-toolbar-view-assertions/index.md @@ -17,6 +17,7 @@ Provides assertion for Toolbar | Name | Summary | |---|---| +| [hasHomeAsUpIndicatorDrawable](has-home-as-up-indicator-drawable.md) | `open fun hasHomeAsUpIndicatorDrawable(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 hasHomeAsUpIndicatorDrawable(drawable: `[`Drawable`](https://developer.android.com/reference/android/graphics/drawable/Drawable.html)`): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html)
Checks if Toolbar has navigation icon | | [hasSubtitle](has-subtitle.md) | `open fun hasSubtitle(subtitle: `[`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 hasSubtitle(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 Toolbar has subtitle | | [hasTitle](has-title.md) | `open fun hasTitle(title: `[`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 hasTitle(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 Toolbar has title | diff --git a/docs/kakao/index.md b/docs/kakao/index.md index 9ca0c0d4..c160e509 100644 --- a/docs/kakao/index.md +++ b/docs/kakao/index.md @@ -13,6 +13,7 @@ | [com.agoda.kakao.common.assertions](com.agoda.kakao.common.assertions/index.md) | | | [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.utilities](com.agoda.kakao.common.utilities/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.dialog](com.agoda.kakao.dialog/index.md) | | diff --git a/docs/kakao/package-list b/docs/kakao/package-list index 71b154a4..5eaf1ccc 100644 --- a/docs/kakao/package-list +++ b/docs/kakao/package-list @@ -10,6 +10,7 @@ com.agoda.kakao.common.actions com.agoda.kakao.common.assertions com.agoda.kakao.common.builders com.agoda.kakao.common.matchers +com.agoda.kakao.common.utilities com.agoda.kakao.common.views com.agoda.kakao.delegate com.agoda.kakao.dialog