android - Set SearchView searchSuggestThreshold programmatically -


i creating searchview .java class not xml file , trying set min character length trigger search functionality. found out can xml file following:

<searchable xmlns:android="http://schemas.android.com/apk/res/  ... android:searchsuggestthreshold="3" ... />  

but, i want know how programmatically


Comments

Popular posts from this blog

python 3.x - Mapping specific letters onto a list of words -

javascript - jquery or ashx not working -

inno setup - TLabel or TNewStaticText - change .Font.Style on Focus like Cursor changes with .Cursor -