java - Filter two strings in a listView -


i have sqlite database contains table has 3 columns, i'm using in layout edittext , listview. i've done applying search using edittext , displaying filtered results in listview.

the following code applied edittext called myfilter, words simplecursoradapter :

myfilter.addtextchangedlistener(new textwatcher() {         public void aftertextchanged(editable s) {          }         public void beforetextchanged(charsequence s, int start,           int count, int after) {          }         public void ontextchanged(charsequence s, int start,           int before, int count) {            words.getfilter().filter(s.tostring());         }     }); 

what want filter 2 charsequences, example want display in listview words starts , b, can (for example words.getfilter().filter("a","b"); ?


Comments

Popular posts from this blog

c# - Unity IoC Lifetime per HttpRequest for UserStore -

Change the color of an oval at click in Java AWT -

I am trying to solve the error message 'incompatible ranks 0 and 1 in assignment' in a fortran 95 program. -