addSubContainer

abstract fun addSubContainer(    parent: ViewGroup,     lifecycleOwner: LifecycleOwner,     panelData: P? = null,     subContainerState: S? = null): H

Creates a new PanelSubContainerHolder of type H, inflating or creating views for a sub-container. Views are attached it to parent, using lifecycleOwner for data binding. panelData and subContainerState is optional information.