HintStatus

sealed interface HintStatus

HintStatus represents the status of a Hint.

Hint Status Samples

Inheritors

Types

Link copied to clipboard
class Error(val text: String, @DrawableRes val icon: Int? = R.drawable.ic_expression_exclamation_triangle) : HintStatusWithIcon

A hint indicating an error.

Link copied to clipboard
class Neutral(val text: String) : HintStatus

A neutral hint.

Link copied to clipboard
class Success(val text: String, @DrawableRes val icon: Int? = R.drawable.ic_expression_hook_circle) : HintStatusWithIcon

A hint indicating success.

Link copied to clipboard
class Warning(val text: String, @DrawableRes val icon: Int? = R.drawable.ic_expression_exclamation_circle) : HintStatusWithIcon

A hint indicating a warning.

Properties

Link copied to clipboard
abstract val text: String

The text to be shown in the Hint.