protected override FilterResults PerformFiltering(ICharSequence constraint)
            {
                filteredList.Clear();

                if (!constraint.Any())
                {
                    filteredList.AddRange(originalList);
                }
                else
                {
                    var filterPattern = constraint.ToString().ToLower().Trim();
                    foreach (var item in originalList)
                    {
                        if (item.description.ToLower().Contains(filterPattern) ||
                            item.type.ToLower().Contains(filterPattern))
                        {
                            filteredList.Add(item);
                        }
                    }
                }
                return(null);
            }
            protected override FilterResults PerformFiltering(ICharSequence constraint)
            {
                filteredList.Clear();

                if (!constraint.Any())
                {
                    filteredList.AddRange(originalList);
                }
                else
                {
                    var filterPattern = constraint.ToString().ToLower().Trim();
                    foreach (CardMenuPDVsModel item in originalList)
                    {
                        if (item.endereco.ToLower().Contains(filterPattern) ||
                            item.name.ToLower().Contains(filterPattern))
                        {
                            filteredList.Add(item);
                        }
                    }
                }
                return(null);
            }