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

apache - Remove .php and add trailing slash in url using htaccess not loading css -

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