PanelListContainerController

open class PanelListContainerController<P : Panel>(    adapter: PanelListAdapter<P>,     container: PanelListRecyclerView,     panelData: LiveData<out PanelList<P>>,     panelContext: PanelContext) : PanelContainerController<List<P>>

A controller that visualises the panels provided by panelData as a list with the given container. This includes triggering animations when panels appear and disappear.

System UI specific details for individual panels can be injected through adapter.

Constructors

Link copied to clipboard
fun <P : Panel> PanelListContainerController(    adapter: PanelListAdapter<P>,     container: PanelListRecyclerView,     panelData: LiveData<out PanelList<P>>,     panelContext: PanelContext)

Inherited functions

Link copied to clipboard
fun bind(panelContainerViewContext: PanelContainerViewContext)

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.

Link copied to clipboard
open override fun toString(): String
Link copied to clipboard
@CallSuper
open fun unbind()

Unbinds this controller from the system UI. The controller must have been bound through bind first.