ScreenViewRunner

The function that updates a View instance built by a ScreenViewFactory. Each ScreenViewRunner instance is paired with a 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

Link copied to clipboard
abstract fun showRendering(rendering: ScreenT, environment: ViewEnvironment)