createPanelStackFragmentAdapter

abstract fun <P : GenericPanel<C>, C : PanelContext> createPanelStackFragmentAdapter(panelFragmentContainerHolder: PanelFragmentContainerHolder, panelAttachmentProvider: () -> PanelStackAttachment<P, C>)

Creates a panel fragment adapter that allows attaching a panel stack to a panel fragment container referenced by panelFragmentContainerHolder through a PanelStackAttachment provided by panelAttachmentProvider.

Note: A panel sub-container may have multiple panel fragment containers. Each panel fragment container can have one or more a panel attachments.

Parameters

P

The Panel type this adapter handles.

C

The PanelContext of P.