Package com.tomtom.ivi.platform.systemui.api.common.systemuihost.containerviews

Types

Link copied to clipboard
class ModalPanelStackContainerView @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : PanelStackContainerView<ModalPanelStackData, ModalPanel, NavigablePanelContext> , OnBackPressedConsumer
Link copied to clipboard
class OverlappingPanelContainerView<P : Panel> @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : PanelContainerFrameLayout<P>

A container view that presents a list of panels provided by ttiviPanels. This container will overlap panels if multiple are provided at the same time. Newly added panels will overlap previously added panels.

Link copied to clipboard
class PanelContainerControllerHolder<C : PanelContainerController<*>>(findContainerViewDataBinding: () -> ViewDataBinding?, createPanelContainerController: (PanelContainerViewContext) -> C?)

A convenience class for common PanelContainerView logic to do with creating a PanelContainerController and re-creating it when its dependencies change.

Link copied to clipboard
abstract class PanelContainerFrameLayout<SD : Any> @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : FrameLayout, PanelContainerView<SD>

A FrameLayout base class for panel container views.

Link copied to clipboard
interface PanelContainerView<SD>

A container view that visualizes panels.

Link copied to clipboard
data class PanelContainerViewContext(    fragmentManager: FragmentManager,     softInputAccessor: SoftInputAccessor,     viewLifecycleOwner: LifecycleOwner,     viewModelStoreOwner: ViewModelStoreOwner)

The entry point for a container view to communicate with the system UI host. The lifetime of the context instance is bound to the lifetime of the system UI view. For example, it is recreated when the active theme is updated.

Link copied to clipboard
class PanelListContainerView<P : Panel> @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : RecyclerView, PanelContainerView<PanelList<P>>

A container view that presents a list of panels provided by ttiviPanels.

Link copied to clipboard
abstract class PanelStackContainerView<D : PanelStackData<P>, P : GenericPanel<C>, C : PanelContext> @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : PanelContainerFrameLayout<D>

A container view that presents a stack of panels provided by ttiviPanelStack.

Link copied to clipboard
class SinglePanelContainerView<P : Panel> @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : PanelContainerFrameLayout<P> , OnBackPressedConsumer

A container view that presents a single panel provided by ttiviPanel. Panel changes are not animated by default. Animations can be configured with ttiviSubContainerEnterAnimation and ttiviSubContainerExitAnimation.

Functions

Link copied to clipboard

Allows any ViewGroup implementation that implements the PanelContainerView interface to create a DefaultPanelSubContainerAnimator.

Allows any ViewGroup implementation that implements the PanelContainerView interface to create a PanelSubContainerAnimationController.