FrontendCoordinationRule

An interface for business logic that coordinates the Frontends within a system UI. Such rules commonly trigger Panels within a Frontend to open or close or update services with information derived from Frontends and their Panels.

These rules are split to allow for different system UI implementations to reuse common business logic while still allowing certain behaviour to deviate when needed.

Functions

Link copied to clipboard
abstract fun activate(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontends: LiveData<out Collection<Frontend>>)

Actives the rule within the scope of the given lifecycleOwner.

Inheritors