PanelCollection

interface PanelCollection<out P : AnyPanel> : Collection<P>

A collection of Panels.

This type facilitates convenient access to common operations from Android layouts through data binding. These utilities are normally accessed through extension functions, which cannot be used cleanly in the data binding syntax.

Inherited properties

Link copied to clipboard
abstract val size: Int

Functions

Link copied to clipboard
open fun isNotEmpty(): Boolean

Inherited functions

Link copied to clipboard
abstract operator fun contains(element: P): Boolean
Link copied to clipboard
abstract fun containsAll(elements: Collection<P>): Boolean
Link copied to clipboard
open fun forEach(p0: Consumer<in P>)
Link copied to clipboard
abstract fun isEmpty(): Boolean
Link copied to clipboard
abstract operator override fun iterator(): Iterator<P>
Link copied to clipboard
open fun parallelStream(): Stream<P>
Link copied to clipboard
open override fun spliterator(): Spliterator<P>
Link copied to clipboard
open fun stream(): Stream<P>
Link copied to clipboard
open fun <T : Any> toArray(p0: IntFunction<Array<T>>): Array<T>

Inheritors

Link copied to clipboard
Link copied to clipboard

Extensions

Link copied to clipboard

Returns whether a panel collection contains any panels that have not been dismissed yet.

Link copied to clipboard

Dismisses all panels in the collection.

Link copied to clipboard

Returns a list of DismissablePanels that is filtered to only contain Panels of type P.

Link copied to clipboard

Returns a list of Panels that is filtered to only contain Panels of type P.

Link copied to clipboard

Returns a list of DismissablePanels of type P that are not being dismissed.

Link copied to clipboard

Converts this to a PanelList with the same contents.

Converts this to a DismissablePanelList with the same contents.