WhenInvalidFocusLost

class WhenInvalidFocusLost(text: StyledText, focusTarget: View? = null) : RequiredIndicatorStyle(source)

Only appends the indicator after a field is initially (or becomes) invalid and it loses focus.

Parameters

text

to append to field name

focusTarget

to monitor for focus events, or null if the labeled content is the right target.

See also

Constructors

Link copied to clipboard
constructor(text: String = "*")
constructor(text: StyledText, focusTarget: View? = null)