On Mar 14, 2013, at 6:00 AM, laurar81 <[email protected]> wrote:
>    public class AutoCompleteCustomAdapter : ArrayAdapter, IFilterable
>    {
>        LayoutInflater inflater;
>        Filter filter;
>        public string[] AllItems;
>        public string[] MatchItems;

Don't inherit ArrayAdapter then override e.g. Count in terms of your own 
arrays. ArrayAdapter has a Java-side array and its own count logic. Your 
implementation is causing things to be "out of sync" with the Java-side 
information, confusing things.

Instead, inherit from BaseAdapter.

 - Jon

_______________________________________________
Monodroid mailing list
[email protected]

UNSUBSCRIBE INFORMATION:
http://lists.ximian.com/mailman/listinfo/monodroid

Reply via email to