OnFocusChanged

constructor(isFocused: Boolean)

Parameters

isFocused

Whether the field currently has focus

Example:

when (event) {
is CardNumberTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showCardTypeHint()
} else {
hideCardTypeHint()
}
}
}