Regular Expression Filter Adapter
I have implemented a listview and an edit box that filters the data in the listview. I use
myAdapter.getFilter().filter(txt);
It works great when the txt contains a sequence of char from the beginning of my data. For example. for the value "This is my value" and filtering the "value" it passes the filter, but when I remove the "v" and the filtering text is "alue" the filter removes it from the adapter.
Is there a way (other than implementing my own filter) for filtering by regex or something like that. Thank.
+3
user1135839
source
to share
No one has answered this question yet
Check out similar questions:
1323
1002
839
775
434
62
1
0
0
0