//workflow/com.squareup.workflow1.ui.container/withRegistry
withRegistry¶
[jvm]
Content
@WorkflowUiExperimentalApi()
fun Screen.withRegistry(viewRegistry: ViewRegistry): EnvironmentScreen<*>
More info
Returns an EnvironmentScreen derived from the receiver, whose EnvironmentScreen.environment includes viewRegistry.
If the receiver is an EnvironmentScreen, uses ViewRegistry.merge to preserve the ViewRegistry entries of both.