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

Why can rails not find a route created by a helper? -

javascript - jquery or ashx not working -

opencv - DataType<cv::detail::deriv_type>::depth what is it used for -