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

Latest commit

 

History

History
38 lines (26 loc) · 5 KB

File metadata and controls

38 lines (26 loc) · 5 KB

kakao / com.agoda.kakao.chipgroup / KChipGroup

KChipGroup

class KChipGroup : KBaseView<KChipGroup>, ChipGroupActions, ChipGroupAssertions

View with ChipGroupActions and ChipGroupAssertions

See Also

ChipGroupActions

ChipGroupAssertions

Constructors

Name Summary
<init> KChipGroup(function: ViewBuilder.() -> Unit)
KChipGroup(parent: Matcher<View>, function: ViewBuilder.() -> Unit)
KChipGroup(parent: DataInteraction, function: ViewBuilder.() -> Unit)

Inherited Properties

Name Summary
root open var root: Matcher<Root>
view open val view: ViewInteractionDelegate

Inherited Functions

Name Summary
hasChip open fun hasChip(text: String): Unit
Check for Chip with textopen fun hasChip(matcher: Matcher<String>): Unit
Check for Chip with matcheropen fun hasChip(id: Int): Unit
Check if ChipGroup has a Chip with id
hasSize open fun hasSize(size: Int): Unit
Check if ChipGroup has size number of chips
invoke operator fun invoke(function: T.() -> Unit): Unit
Operator that allows usage of DSL style
isChipSelected open fun isChipSelected(text: String): Unit
open fun isChipSelected(matcher: Matcher<String>): Unit
Check if Chip with matching text in ChipGroup is selectedopen fun isChipSelected(id: Int): Unit
Check if Chip with matching id in ChipGroup is selected
perform infix fun perform(function: T.() -> Unit): T
Infix function for invoking lambda on your view
selectChip open fun selectChip(text: String): Unit
Select a Chip in a ChipGroup with matching textopen fun selectChip(id: Int): Unit
Select a Chip in a ChipGroup with matching id
selectChipAt open fun selectChipAt(index: Int): Unit
Select a Chip in a ChipGroup at a particular index