PanelFragmentAdapterBuilder

interface PanelFragmentAdapterBuilder

Builds a panel fragment adapter. A panel fragment adapter attaches and detaches Panels to a panel fragment container.

Functions

Link copied to clipboard
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.

Link copied to clipboard
abstract fun <P : GenericPanel<C>, C : PanelContext> createSingleFragmentPanelAdapter(panelFragmentContainerHolder: PanelFragmentContainerHolder, panelAttachmentProvider: () -> SinglePanelAttachment<P, C>)

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