//workflow/com.squareup.workflow1.ui/showRendering
showRendering¶
[androidJvm]
Content
@WorkflowUiExperimentalApi()
fun <RenderingT : Any> View.showRendering(rendering: RenderingT, viewEnvironment: ViewEnvironment)
More info
This will be deprecated in favor of ScreenViewHolder.show very soon.
It is usually more convenient to call WorkflowViewStub.showRendering than to call this method directly.
Shows rendering in this View by invoking the ViewShowRendering function previously set by bindShowRendering.
Throws¶
java.lang.IllegalStateException | if bindShowRendering has not been called. |