register

abstract fun register(componentSelector: IviThemeComponentSelector, position: IviThemeComponentSelectorPosition = IviThemeComponentSelectorPosition.Last)

Registers the given componentSelector.

All IviThemeComponentSelectors create an IviThemeComponentSelection transformation. Each transformation can select IviThemeComponent per IviThemeCategorys. Subsequent chained flow transformations can override selections from preceding IviThemeComponentSelectors. The flow chain order is determined by the registration list order. Subsequent list entries are chained after preceding list entries. The position argument can be used to control where the componentSelector is added to the current registration list (see componentSelectorIds). The default argument value puts the componentSelector at the end of the list.

The componentSelector may not be registered already.