Xamarin.Andorid 监听 EditText 回车事件
EditText ET_Billcode.EditorAction += ET_Billcode_EditorAction; //执行方法 private void ET_Billcode_EditorAction(object sender, TextView.EditorActionEventArgs e) { if (e.Event == null && e.ActionId != ImeAction.Done) { return; } if ((e.Event?.Action == KeyEventActions.Down && e.Event?.KeyCode == Keycode.Enter) || e.ActionId == ImeAction.Done) { } }