void OnFocusChange(object?sender, global::Android.Views.View.FocusChangeEventArgs e) { if (PlatformView == null) { return; } if (e.HasFocus) { if (PlatformView.Clickable) { PlatformView.CallOnClick(); } else { OnClick(PlatformView, EventArgs.Empty); } } else if (_dialog != null) { _dialog.Hide(); PlatformView.ClearFocus(); _dialog = null; } }