//workflow/com.squareup.workflow1.ui/asScreen
asScreen¶
[jvm]
Content
@WorkflowUiExperimentalApi()
fun asScreen(rendering: Any): Screen
More info
Ensures rendering implements Screen, wrapping it in an AsScreen if necessary.
This is a migration tool for code bases that are still adopting the Screen and Overlay interfaces, and will be deprecated and deleted sooner or later.