Inheritance: Java.Lang.Object
Exemple #1
0
 public void Filter(string searchText)
 {
     if (!string.IsNullOrEmpty(searchText))
     {
         candyList = Candy.DefaultList().Where(c => c.Name.Contains(searchText.ToLower())).ToList();
     }
     else
     {
         candyList = Candy.DefaultList();
     }
     NotifyDataSetChanged();
 }
Exemple #2
0
 public CandyAdapter(Activity context)
 {
     this.context = context;
     candyList    = Candy.DefaultList();
 }