How to search through a custom list adapter
<p>I have a list adapter defined like this</p>

<p>public class TracksListAdapter extends BaseAdapter {</p>

<pre><code>private static LayoutInflater inflater = null;

ArrayList&lt;TrackInfo&gt; itemList;
</code></pre>

<p>and TrackInfo defined like this</p>

<p>class TrackInfo implements Serializable {</p>

<pre><code>public String trackName = "Untitled track";
public String trackDescription = " ";
public double averageSpeed = 0;
public double maxSpeed = 0;
public double minSpeed = 0;
public double averageAltitude = 0;
public double minAltitude = 0;
public double maxAltitude = 0;
public double totalDistance = 0;
public long trackColor;
public int trackCategory;
public Date startTime = new Date();
public Date endTime = new Date();
</code></pre>

<p>}</p>

<p>(I am not passing any data in the constructor, I am saving/loading it by serializing itemList)</p>

<p>I want to know how could I filter it (add a search function), any ideas?</p>
