public bool OnEditorAction(TextView v, Android.Views.InputMethods.ImeAction actionId, KeyEvent keyEvent) { // don't allow searching until the map is valid (which it should be by now) if (Map != null) { SearchPage.ShouldReturn( ); } return(true); }
bool HandleEditorAction(Android.Views.InputMethods.ImeAction actionCode) { if (CurrentFocus != null && CurrentFocus._controller != null) { CurrentFocus._controller.Return(); return(true); } return(false); }
public bool OnEditorAction(TextView v, Android.Views.InputMethods.ImeAction actionId, KeyEvent e) { try { if (actionId == Android.Views.InputMethods.ImeAction.Done) { if (m_Editing) { Save(); return(false); } AddNewTask(); return(Settings.KeepKeyboardUp); } } catch (Exception) { //throw; } return(false); }