I have a Spinner in which the dropdown items have a EditText, after trying editText.requestFocus(),the focus comes up on the editText, but the keyboard is not showing up. It tells mServedView != view, which I basically think that the dropdown item is not attached to the parent activity maybe. Following is my code.
InputMethodManager imm = (InputMethodManager)
appContext.getSystemService(Context.INPUT_METHOD_SERVICE);
imm.showSoftInput(holder.editText, InputMethodManager.SHOW_FORCED);
I have tried using toggleSoftInput, in that case the keyboard shows up, but as I type the first key, the dropdown closes.