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