How to filter an arrayadapter?
<p>I have an ArrayAdapter and I want to look for some text just as the AutoCompleteTextView does. I have write this:</p>

<pre><code>Filter mFilter = adapter.getFilter();
mFilter.filter(mytext, new FilterListener(){
    @Override
    public void onFilterComplete(int count) {
        // TODO Auto-generated method stub
    }   
}   
</code></pre>

<p>I have debug my app and I have seen that mFilter contains the results of filtering as I want in one of his variables but I can't get them. I have tried to add a FilterListener but I can't get them. How can I do it?</p>
