I am making a Glossary of legal terms and I would like to be able to narrow the results in the list by typing in an edit box, I have tried finding a solution but none of them have worked for me.
+1
A:
On Android you don't need a editbox to make that happen. And it's not advised to do so.
Instead just implement Filterable for your Custom Adaptor, and once the user will type in something while views the list it will filter. The onscreen keyboard as usual comes up with holding Menu
Here is a tutorial that has code to implement Filterable
Pentium10
2010-06-29 13:42:53
I don't have a custom adapter, nor do I need one for this program, I need the edit text for ascetic purposes, I am writing this program for an iPhone fanatic.
rubix
2010-06-29 13:55:07
You will end up writing the filter again, I would recommend doing that 25 line of custom adapter and some additional 10 line for the filterable, and not spending 250 lines in my own filterable method.
Pentium10
2010-06-29 17:13:46