PanelManager

interface PanelManager<P : Panel>

A manager allowing the adapter to add and remove panels.

Functions

Link copied to clipboard
abstract fun detachAttachedPanelIfAny(subContainerView: ViewGroup)

Detaches subContainerView's current panel if one was previously attached with setAttachedPanel or restorePanelAttachment.

Link copied to clipboard
abstract fun restorePanelAttachment(subContainerView: ViewGroup, panel: P)

Restores the panel attachment of a panel to subContainerView.

Link copied to clipboard
abstract fun setAttachedPanel(subContainerView: ViewGroup, panel: P)

Attaches panel to subContainerView. This detaches the subContainerView's current panel if one was previously attached with setAttachedPanel or restorePanelAttachment.