OnFocusChanged

constructor(isFocused: Boolean)

Parameters

isFocused

Whether the field currently has focus

Example:

when (event) {
is ExpirationDateTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showDateFormatHint()
} else {
hideDateFormatHint()
}
}
}