Skip to content

//workflow/com.squareup.workflow1.ui/plus

plus

[jvm]
Content
@WorkflowUiExperimentalApi()

operator fun ViewRegistry.plus(entry: ViewRegistry.Entry<*>): ViewRegistry
More info

Transforms the receiver to add entry, throwing IllegalArgumentException if the receiver already has a matching entry. Use merge to replace an existing entry with a new one.

[jvm]
Content
@WorkflowUiExperimentalApi()

operator fun ViewRegistry.plus(other: ViewRegistry): ViewRegistry
More info

Transforms the receiver to add all entries from other, throwing IllegalArgumentException if the receiver already has any matching entry. Use merge to replace existing entries.

[jvm]
Content
@WorkflowUiExperimentalApi()

operator fun ViewEnvironment.plus(registry: ViewRegistry): ViewEnvironment