This repository has been archived by the owner on May 26, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 102
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
21 changed files
with
107 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
7 changes: 7 additions & 0 deletions
7
docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/-init-.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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)` |
5 changes: 5 additions & 0 deletions
5
...akao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/describe-to.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |
5 changes: 5 additions & 0 deletions
5
docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/drawable.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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)`?` |
25 changes: 25 additions & 0 deletions
25
docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/index.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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)`)`<br>`ToolbarNavigationMatcher(resId: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`)`<br>`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) | |
5 changes: 5 additions & 0 deletions
5
...o/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/matches-safely.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |
5 changes: 5 additions & 0 deletions
5
docs/kakao/com.agoda.kakao.common.matchers/-toolbar-navigation-matcher/res-id.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
docs/kakao/com.agoda.kakao.common.utilities/get-resource-color.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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) |
5 changes: 5 additions & 0 deletions
5
docs/kakao/com.agoda.kakao.common.utilities/get-resource-drawable.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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)`?` |
5 changes: 5 additions & 0 deletions
5
docs/kakao/com.agoda.kakao.common.utilities/get-resource-string.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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)`!` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
[kakao](../index.md) / [com.agoda.kakao.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)`!` | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
17 changes: 17 additions & 0 deletions
17
...oda.kakao.toolbar/-toolbar-view-assertions/has-home-as-up-indicator-drawable.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters