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

hibernate - How to load global settings frequently used in application in Java -

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

objective c - Ownership modifiers with manual reference counting -