There was some progress made to the earlier problem. Now there is a new problem. The text in the GridView shows the correct result. However, the images are the same as at th
@MKJParekh did a great job!To sum up his implementation:
performFiltering()
set the condition for nulls and empty strings, and also if the constraint matches the string value of the corresponding object, then add the object to the temp List. That way you have only a "filtered" list of objects.getCount()
, getItem()
, and getView()
. Otherwise, you'll just be loading ALL the items everytime, since untimately notifyDataSetChanged()
will be called after each filtering.