Inheritance: Java.Lang.Object
Beispiel #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();
 }
Beispiel #2
0
 public CandyAdapter(Activity context)
 {
     this.context = context;
     candyList    = Candy.DefaultList();
 }