ViewStarter

A wrapper for the function invoked when ScreenViewHolder.startShowing is called, allowing for custom initialization of a newly built View before or after the first call to ScreenViewHolder.show. Most typical use is to call WorkflowLifecycleOwner.installOn), at just the right moment.

Functions

Link copied to clipboard
abstract fun startView(view: View, doStart: () -> Unit)

Called from ScreenViewFactory.startShowing. doStart must be invoked.