DefaultComposableStrategy

Default concrete implementation of ComposableStrategy.

This class provides a default strategy for selecting the appropriate ComposableType based on the given ViewData. It defines the lists of ComposableFrames for different parts of the UI and implements the logic to choose a ComposableType based on the type of ViewData and its properties.

See also

Inheritors

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
open override val iconFrameList: List<ComposableFrame>

A list of ComposableFrame objects used to determine the ComposableType for the icon section.

Link copied to clipboard
open override val leftFrameList: List<ComposableFrame>

A list of ComposableFrame objects used to determine the ComposableType for the left section.

Link copied to clipboard
open override val titleFrameList: List<ComposableFrame>

A list of ComposableFrame objects used to determine the ComposableType for the title section.

Link copied to clipboard

A list of ComposableFrame objects used to determine the ComposableType for the widget section.

Functions

Link copied to clipboard
open override fun selectComposableType(viewData: ViewData): ComposableType?

Selects a ComposableType based on the provided ViewData.