//workflow/com.squareup.workflow1.ui/ScreenViewRunner
ScreenViewRunner¶
[androidJvm] @WorkflowUiExperimentalApi()
fun fun interface ScreenViewRunner
The function that updates a View instance built by a ScreenViewFactory. Each ScreenViewRunner instance is paired with the single View instance, its neighbor in a ScreenViewHolder.
This is the interface you’ll implement directly to update Android view code from your Screen renderings. A ScreenViewRunner serves as the strategy object of a ScreenViewHolder instantiated by a ScreenViewFactory – the runner provides the implementation for the holder’s ScreenViewHolder.show method.
Functions¶
Name | Summary |
---|---|
showRendering | [androidJvm] Content abstract fun showRendering(rendering: ScreenT, viewEnvironment: ViewEnvironment) |