kakao / com.agoda.kakao.chipgroup / KChipGroup
class KChipGroup :
KBaseView
<
KChipGroup
>,
ChipGroupActions
,
ChipGroupAssertions
View with ChipGroupActions and ChipGroupAssertions
See Also
Name | Summary |
---|---|
<init> | KChipGroup(function: ViewBuilder .() -> Unit ) KChipGroup(parent: Matcher< View >, function: ViewBuilder .() -> Unit ) KChipGroup(parent: DataInteraction, function: ViewBuilder .() -> Unit ) |
Name | Summary |
---|---|
root | open var root: Matcher<Root> |
view | open val view: ViewInteractionDelegate |
Name | Summary |
---|---|
hasChip | open fun hasChip(text: String ): Unit Check for Chip with text open fun hasChip(matcher: Matcher< String >): Unit Check for Chip with matcher open 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 selected open 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 text open 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 |