public void Deactivate() { activity.RunOnUiThread(() => { inputMethodManager.HideSoftInputFromWindow(view.WindowToken, HideSoftInputFlags.None); view.ClearFocus(); view.KeyDown -= keyDown; view.CommitText -= commitText; }); }
protected override void ActivateTextInput() { view.KeyDown += keyDown; view.CommitText += commitText; activity.RunOnUiThread(() => { view.RequestFocus(); inputMethodManager?.ShowSoftInput(view, 0); }); }