WeatherElement

data class WeatherElement(val temperature: String, val condition: WeatherElement.Condition, val secondaryText: String? = null, val title: String? = null, val daytime: Boolean = true, val sentiment: Sentiment? = null, val compact: Boolean = false) : UiElement.Static

Deprecated

Will be removed from core UI library

Constructors

Link copied to clipboard
constructor(temperature: String, condition: WeatherElement.Condition, secondaryText: String? = null, title: String? = null, daytime: Boolean = true, sentiment: Sentiment? = null, compact: Boolean = false)

Types

Link copied to clipboard

Properties

Link copied to clipboard
val compact: Boolean = false
Link copied to clipboard
Link copied to clipboard
val daytime: Boolean = true
Link copied to clipboard
val secondaryText: String? = null
Link copied to clipboard
val sentiment: Sentiment? = null
Link copied to clipboard
Link copied to clipboard
val title: String? = null

Functions

Link copied to clipboard
inline fun <T : UiElement> UiElement.renderWithType(block: T.() -> Unit): RenderResult