getColorFlow

fun getColorFlow(propertyPath: String): Flow<Int>

Creates or retrieves from cache a color property, represented as a cold Flow. Colors are represented as AARRGGBB integers, and this flow will emit the integer value of the color.

The collection of the flow may cause an exception. See getNumberFlow for details.

Return

A cold Flow of Int values representing the color property.

Parameters

propertyPath

The path to the property from this view model instance. Slash delimited to refer to nested properties.

See also