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

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -