ScreenViewHolder
Associates a view with a function (runner) that can update it to display instances of ScreenT. Also holds a reference to the ViewEnvironment that was most recently used to update the view.
Do not call runner directly. Use ScreenViewHolder.show instead. Or most commonly, allow WorkflowViewStub.show to call it for you.
Properties
The ViewEnvironment that was provided the last time view was updated by runner.
The function that is run by show to update view with a new Screen rendering and ViewEnvironment.
Functions
Returns true if screen is compatible with the Screen instance that was last shown by the view managed by the receiver.
Updates the view managed by the receiver to display screen, and updates the receiver's environment as well.
It is rare to call this method directly. Instead the most common path is to pass Screen instances to WorkflowViewStub.show, which will apply the ScreenViewFactory and ScreenViewHolder machinery for you. See ScreenViewFactory for details.