PanelStackContainerController
open class PanelStackContainerController<D : PanelStackData<P>, P : GenericPanel<C>, C : PanelContext>( panelData: LiveData<out D?>, container: ViewGroup, subContainerManager: PanelStackSubContainerManager<D>, animationController: PanelSubContainerAnimationController<D>, createPanelContext: (P) -> C) : PanelContainerController<D, Unit>
Content copied to clipboard
A controller that visualises the panel stack provided by panelData in container. This includes triggering animations when panels appear and disappear.
Parameters
D
The type of PanelStackData that is visualised by the container view.
P
The type of Panel in the panel stack.
C
: The type of PanelContext of panels in the panel stack
Constructors
Link copied to clipboard
fun <D : PanelStackData<P>, P : GenericPanel<C>, C : PanelContext> PanelStackContainerController( panelData: LiveData<out D?>, container: ViewGroup, subContainerManager: PanelStackSubContainerManager<D>, animationController: PanelSubContainerAnimationController<D>, createPanelContext: (P) -> C)
Content copied to clipboard
Inherited properties
Inherited functions
Link copied to clipboard
Binds this controller to the system UI with the given panelContainerViewContext. A controller may only be bound once and must be unbound through unbind when destroying the controller.