Skip to content

//workflow/com.squareup.workflow1.ui/showRendering

showRendering

[androidJvm]
Content
@WorkflowUiExperimentalApi()

fun <RenderingT : Any> View.showRendering(rendering: RenderingT, viewEnvironment: ViewEnvironment)
More info

It is usually more convenient to use WorkflowViewStub than to call this method directly.

Sets the workflow rendering associated with this view, and displays it by invoking the ViewShowRendering function previously set by bindShowRendering.

Throws

kotlin.IllegalStateException

if bindShowRendering has not been called.