SinglePanelSubContainerController

constructor(@LayoutRes subContainerLayoutId: Int? = null, providePanelContextFactory: PanelContextFactoryProvider.(P) -> PanelContextFactory<C>)

Parameters

providePanelContextFactory

Provides the panel context factory for creating a panel context of type C. Use the receiver to create a PanelContextFactory. A panel context is created when a panel is attached to a panel sub-container. The panel is provided as argument to the factory.

VM

The panel sub-container view model type.

P

The panel type.

C

The panel context type.