Upon first focus of an edittext view, the onStartInputView() gets called in TeclaIME. This triggers the setup of the keyboardview variable kbv. The kbv variable is the variable to be used to determine if the switch events will be directed to the keyboard, or the HUD. On hide of the keyboard, the onFinishInputView() will clear the kbv variable and show the HUD as expected. The issue comes from the next event that happens. Any event will retrigger the onStartInputView() method, which will reinitialize the kbv and further redirect all inputs to the keyboard.
@jorgesilva Would you have any insight on this? Not quite sure if i'm not understanding the IME lifecycle for this.
Upon first focus of an edittext view, the onStartInputView() gets called in TeclaIME. This triggers the setup of the keyboardview variable kbv. The kbv variable is the variable to be used to determine if the switch events will be directed to the keyboard, or the HUD. On hide of the keyboard, the onFinishInputView() will clear the kbv variable and show the HUD as expected. The issue comes from the next event that happens. Any event will retrigger the onStartInputView() method, which will reinitialize the kbv and further redirect all inputs to the keyboard.
@jorgesilva Would you have any insight on this? Not quite sure if i'm not understanding the IME lifecycle for this.