Package-level declarations

API provided to IviThemeRegistrySource.Selectors implementations to register IviThemeComponentSelector implementations.

Types

Link copied to clipboard

Represents a collection of selected IviThemeComponents.

Link copied to clipboard
@IviExperimental(reasons = [])
abstract class IviThemeComponentSelector

A IviThemeComponent selector which selects one or more IviThemeComponents. Each IviThemeComponent represents the selected IviThemeComponent for its corresponding IviThemeCategory.

Link copied to clipboard

DSL interface provided to IviThemeRegistrySource.Selectorss to register zero or more IviThemeComponentSelectors.

Link copied to clipboard
Link copied to clipboard

Controls the position where an IviThemeComponentSelector is added in a list. Subsequent list entries take precedence over preceding list entries. Subsequent IviThemeComponentSelector can override selection from preceding selectors.

Link copied to clipboard
@IviExperimental(reasons = [])
data class IviThemeComponentSelectorSelection(val selectedComponents: Set<IviThemeComponent> = emptySet())

Represents a collection of selected IviThemeComponents, as selected by an IviThemeComponentSelector.

Link copied to clipboard

A simple IviThemeComponentSelector which can be used if the component selector should only add or overwrite the preceding selection of IviThemeComponents with one or more IviThemeComponents.

Properties

Link copied to clipboard

ID of the fallback component selector.

Functions

Link copied to clipboard

Returns an IviThemeComponentSelector which selects the set of IviThemeComponents as active IviThemeComponents. This is typically used to provide default IviThemeComponents per IviThemeCategory.