PanelListContainer
A panel container that presents a list of panels provided by ttiviPanelContainerData.
The panel container requires ttiviPanelContainerContext to manage the panels.
The panel container has no layout itself and panels are placed inside internally created sub-containers. The sub-containers' layout can be set through ttiviSubContainerLayoutId.
This PanelContainerRecyclerView sub-class facilitates additional use-cases that are relevant to lists of panels. Particularly, it resolves a number of touch event related issues that occur when scrolling through a list with list items that have nested scrolling.
Only vertical orientation is supported.
Parameters
Provides the panel context factory for creating a panel context of type C. Use the receiver to create a PanelContextFactory. A panel context is created when a panel is attached to a panel sub-container. The panel is provided as argument to the factory.
The type of the panel container data that is visualized by the panel container.
The panel sub-container view model type.
The type of the panel sub-container data. The data is derived from the panel container data.
The panel context type.
Inheritors
Constructors
Properties
When true, onInterceptTouchEvent and onTouchEvent will be ignored. This is useful in situations where touch events should be propagated to underlying views, such as when the recycler view has no (visible) contents but still has a touchable area due to padding.
Inherited properties
The entry point for a container to communicate with the system UI host.
The panels to present in the container view.
A provider of both the enter and exit animations used for the entrance and exit of panel sub-containers. This attribute, if specified, requires that ttiviSubContainerEnterAnimation and ttiviSubContainerExitAnimation are not set.
An animation resource used for the entrance of panel sub-containers.
An animation resource used for the exit of panel sub-containers.
An optional layout reference for panel sub-containers. This layout ID will be used for every sub-container.
Functions
Invoked to create a RecyclerSubContainerController.