OnFocusChanged
Parameters
isFocused
Whether the field currently has focus
Example:
when (event) {
is ExpirationDateTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showDateFormatHint()
} else {
hideDateFormatHint()
}
}
}
Content copied to clipboard