public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. AgdList = JsonConvert.DeserializeObject <List <AgendaEntity> >(Resources.Resources.AgendaList).ToArray().GroupBy(x => x.Agenda); Query = new List <string>(); AgdList.ToList().ForEach(x => Query.Add(x.Key)); tableView.Source = new AgendaTableSource(Query, this); }
public override void ViewDidLoad() { base.ViewDidLoad(); // Perform any additional setup after loading the view, typically from a nib. NavigationItem.SetRightBarButtonItem( new UIBarButtonItem(UIImage.FromBundle("threelines") , UIBarButtonItemStyle.Plain , (sender, args) => { SidebarController.ToggleMenu(); }), true); AgdList = DeserializeObject <List <AgendaEntity> >(Resources.Resources.AgendaList).ToList().GroupBy(x => x.Agenda); Query = new List <string>(); AgdList.ToList().ForEach(x => Query.Add(x.Key)); tableView.Source = new AgendaTableSource(Query, this); }