IviThemeRegistrySource

@IviExperimental(reasons = [])
sealed class IviThemeRegistrySource

A source of the IviThemeRegistry.

Each source can be a Components or a Selectors. Components configures the available IviThemeComponents and associates the Android style resources with the IviThemeComponents. Selectorss register IviThemeComponentSelector that implement the logic to select the active IviThemeComponent per IviThemeCategory.

Each source must be constructed by an IviThemeRegistrySourceBuilder.

Parameters

registrySourceContext

The context of the source. This context is provided to the IviThemeRegistrySourceBuilder.build method.

Inheritors

Types

Link copied to clipboard
abstract class Components(registrySourceContext: IviThemeRegistrySourceContext) : IviThemeRegistrySource

This type of IviThemeRegistrySource can:

Link copied to clipboard
abstract class Selectors(registrySourceContext: IviThemeRegistrySourceContext) : IviThemeRegistrySource

This type of IviThemeRegistrySource can register zero or more IviThemeComponentSelectors. Each IviThemeComponentSelector can select the active IviThemeComponent per IviThemeCategory.

Link copied to clipboard

A simple Selectors implementation that registers componentSelector.

Properties

Link copied to clipboard

Functions

Link copied to clipboard
operator override fun equals(other: Any?): Boolean
Link copied to clipboard
override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String