NutrientThemeController

Drives runtime theme propagation. Activity binders call invalidate from setTheme() interception and onConfigurationChanged; the bumped key forces NutrientTheme (and any consumer keyed on LocalNutrientThemeKey) to re-read colors.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
var key: Int

Monotonically increasing key bumped by invalidate; observe it to re-read theme values.

Functions

Link copied to clipboard

Signals that the underlying XML theme changed, forcing observers of key to recompose.