OnFocusChanged

constructor(isFocused: Boolean)

Parameters

isFocused

Whether the field currently has focus

Example:

when (event) {
is SecurityCodeTextFieldEvent.OnFocusChanged -> {
if (event.isFocused) {
showSecurityCodeHint()
} else {
hideSecurityCodeHint()
}
}