¡@

Home 

2014/10/16 ¤W¤È 08:14:15

android Programming Glossary: gi

How to write a custom filter for ListView with ArrayAdapter

http://stackoverflow.com/questions/2519317/how-to-write-a-custom-filter-for-listview-with-arrayadapter

Actually I noticed that I should have been using 'originalItems' list to build the new filtered one in performFiltering... This will fix any issues that you see regarding changing the text in the filter. E.g. you search for 'Bread' then backspace.. to just a 'B' and you should see all 'B's. In my original post you would not have. private class GlycaemicIndexItemAdapter..

How to write a custom filter for ListView with ArrayAdapter

http://stackoverflow.com/questions/2519317/how-to-write-a-custom-filter-for-listview-with-arrayadapter

listview android arrayadapter share improve this question Actually I noticed that I should have been using 'originalItems' list to build the new filtered one in performFiltering. This will fix any issues that you see regarding changing.. list to build the new filtered one in performFiltering. This will fix any issues that you see regarding changing the text in the filter. E.g. you search for 'Bread' then backspace to just a 'B' and you should see all 'B's. In my original.. the text in the filter. E.g. you search for 'Bread' then backspace to just a 'B' and you should see all 'B's. In my original post you would not have. private class GlycaemicIndexItemAdapter extends ArrayAdapter GlycaemicIndexItem private ArrayList..