CustomStrategy

An abstract class that extends DefaultComposableStrategy to provide a custom strategy for selecting composable types. This class allows for the addition of custom frames to the widget frame list and custom logic for selecting composable types based on view data.

See also

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard

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

Functions

Link copied to clipboard

Abstract method to be implemented by subclasses to provide a list of custom frames. This method is called lazily to initialize the customWidgetList.

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

Selects a ComposableType based on the provided ViewData.