コード例 #1
0
 //切换右上角 人次/人数时,需要调用此方法
 public void BindCategoryList()
 {
     categoryEntityList = NewService.GetStudentCategoryList(CurrUserInfo.SchoolId).Where(p => p.DataType == dataType).ToList();
     categoryList       = new List <string>(categoryEntityList.Select(t => t.CategoryName).ToArray());
     searchCagetory     = categoryList[0];
     tv_cagetory.Text   = searchCagetory;
     //重置查询弹框,否则adapter不会更新
     popCategory = null;
 }