custom Filter Android won't show me the results
- by TiGer
Hi,
I have been implementing a class which class extends ArrayAdapter and implements Filterable.
The filtering part (in the performFiltering method()) seems to go ok, it fills the FilterResults object just as expected.
But then I think I'm not doing it right on how to publish the results, atm I have :
protected void publishResults(CharSequence prefix, FilterResults results) 
  {
    // NOTE: this function is *always* called from the UI thread.
     subItems =  (Vector)results.values;
     notifyDataSetChanged();
  }
But this simply won't "populate" my List with the received data.
So now my question is how do I populate my List with the received results ? Do I have to do that programmatically ?