//workflow/com.squareup.workflow1.ui/bindShowRendering
bindShowRendering¶
[androidJvm]
Content
@WorkflowUiExperimentalApi()
fun <RenderingT : Any> View.bindShowRendering(initialRendering: RenderingT, initialViewEnvironment: ViewEnvironment, showRendering: ViewShowRendering<RenderingT>)
More info
Establishes showRendering as the implementation of View.showRendering for the receiver, possibly replacing the existing one. Likewise sets / updates the values returned by View.getRendering and View.environment.
Intended for use by implementations of ViewFactory.buildView.
See also¶
androidJvm
com.squareup.workflow1.ui.DecorativeViewFactory |