How to check whether android EditText keyboard Auto Suggestion is enabled or not? -
in project working on edittext.i have set input type edittext using below code.
medit.setinputtype(inputtype.type_class_text | inputtype.type_text_flag_cap_sentences | inputtype.type_text_flag_multi_line);
if disabled auto suggestion using keyboard settings, how know autosuggestion enabled or disabled while editing. need know in ontextchanged listener.
you can check
if(medit.getinputtype() == inputtype.type_text_flag_no_suggestions){ }
but never tried.
Comments
Post a Comment