DummyElementController

Adds a dummy, not visible, view at the beginning of the panel list. This has the side effect that if other panels are added to the start of the list they are not added outside of the visible area and do not require scrolling to be shown.

Parameters

CD

The type of the panel container data that is visualized by the panel container.

SD

The type of the panel sub-container data. The data is derived from the panel container data.

Constructors

Link copied to clipboard

Properties

Link copied to clipboard

Panel container element type. Must be unique per RecyclerBasicElementController.

Functions

Link copied to clipboard
open override fun areContentsTheSame(oldElementData: Unit, newElementData: Unit): Boolean

Returns true when oldElementData has the same content as newElementData.

Link copied to clipboard
open override fun areItemsTheSame(oldElementData: Unit, newElement: Unit): Boolean

Returns true when oldElementData is the same as newElement.

Link copied to clipboard

Returns a view to visualize a basic element of a type specified by elementType and the BasicElementViewCreationResult.onBind callback implementation which is invoked to bind the basic element data of type BD to the view.

Link copied to clipboard
open override fun decorateList(panelContainerData: CD?, list: ExtendablePanelContainerElementList<SD, Unit>)

Invoked to decorate the list with additional panel container basic elements.