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();
 }