Companion

object Companion

Functions

Link copied to clipboard
fun createDefault(lifecycleOwner: LifecycleOwner, iviServiceProvider: IviInstanceBoundIviServiceProvider, frontendMetadata: Collection<FrontendMetadata>, frontendContextFactory: FrontendContextFactory, panelRegistryFactory: PanelRegistryFactory<IviPanelRegistry> = { frontendRegistry -> IviPanelRegistry.build( frontendRegistry.extractPanels(), lifecycleOwner, iviServiceProvider ) }, frontendCoordinationRulesFactory: FrontendCoordinationRulesFactory<IviPanelRegistry> = { frontendRegistry, panelRegistry -> DefaultFrontendCoordinationRules.create(frontendRegistry, panelRegistry) }): FrontendCoordinator<IviPanelRegistry>

Creates a default instance of FrontendCoordinator using an IviPanelRegistry.