Skip to content

//workflow/com.squareup.workflow1.ui/control

control

[androidJvm]
Content
@WorkflowUiExperimentalApi()

fun TextController.control(view: EditText)
More info

Call this from your view code’s showRendering method. This method is idempotent: if it has already been called with a particular EditText, and the view has not been detached since the last call, it will do nothing. If a different TextController‘s control is called on the same EditText, the old one will be disconnected and the new one will replace it.

See TextController for more documentation.