createSubContainer

abstract fun createSubContainer(panelContainer: ViewGroup, subContainerViewModel: VM): SubContainerCreation<VM, SD>

Creates a panel sub-container. The panel sub-container must have at least one panel fragment container.

Implementations should inflate a panel sub-container with inflateSubContainerAndBindViewModel to construct a MutableSubContainerCreation and use MutableSubContainerCreation.bindFragmentContainer or MutableSubContainerCreation.bindOptionalFragmentContainer to bind one or more PanelAttachmentProviders to FragmentContainerViews.

Parameters

panelContainer

The panel container.

subContainerViewModel

The panel sub-container view model class.