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);
        }
Ejemplo n.º 2
0
        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);
        }