createDismissAllButton

abstract fun createDismissAllButton(parentContainer: ViewGroup, onClick: () -> Unit): View

Creates an entry in the panel list that allows the user to dismiss all panels at once.

Parameters

parentContainer

The container that the created sub-container will be placed in.

onClick

The function that should be called when the dismiss all button is clicked.