IviPanelRegistrySystemUiHostExtension

SystemUiHostExtension for using the default FrontendCoordinator and default IviPanelRegistry as part of the system UI.

This SystemUiHostExtension binds the IviPanelRegistry instance to the panelRegistry binding data variable.

System UI layouts can define the following to use the bound view model:

<data>
<variable
name="panelRegistry"
type="com.tomtom.ivi.platform.systemui.api.common.frontendcoordinator.IviPanelRegistry" />
</data>

Example for using the panelRegistry variable:

<com.tomtom.ivi.platform.systemui.api.common.systemuihost.panelcontainer.SinglePanelContainer
android:id="@+id/ttivi_home_container"
auto:ttiviPanelContainerContext="@{panelContainerContext}"
auto:ttiviPanelContainerData="@{panelRegistry.homePanel}"
/>

Exclude this SystemUiHostExtension in a custom system UI if a custom FrontendCoordinator and/or custom PanelRegistry should be used.

Parameters

systemUiHostExtensionContext

Constructors

Properties

Link copied to clipboard

Whether all frontends with the FrontendCreationPolicy.CREATE_FRONTEND_AT_STARTUP frontend creation policy are ready.

Link copied to clipboard

Functions

Link copied to clipboard
open override fun bindSystemUiView(binding: ViewDataBinding)
Link copied to clipboard
open override fun toString(): String