public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            var source = new ExpandableTableSource(TableView)
            {
                UseAnimations   = true,
                AddAnimation    = UITableViewRowAnimation.Left,
                RemoveAnimation = UITableViewRowAnimation.Right
            };

            this.AddBindings(new Dictionary <object, string>
            {
                { source, "ItemsSource KittenGroups" }
            });

            TableView.Source = source;
            TableView.ReloadData();
        }
Ejemplo n.º 2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            NavigationItem.LeftBarButtonItem = EditButtonItem;

            var source = new ExpandableTableSource(TableView)
            {
                UseAnimations   = true,
                AddAnimation    = UITableViewRowAnimation.Left,
                RemoveAnimation = UITableViewRowAnimation.Right,
                IsAccordionExpandCollapseEnabled = true
            };

            this.AddBindings(new Dictionary <object, string>
            {
                { source, "ItemsSource KittenGroups" }
            });

            TableView.Source = source;
            TableView.ReloadData();
        }
Ejemplo n.º 3
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            NavigationItem.LeftBarButtonItem = EditButtonItem;

            var source = new ExpandableTableSource(TableView)
            {
                UseAnimations = true,
                AddAnimation = UITableViewRowAnimation.Left,
                RemoveAnimation = UITableViewRowAnimation.Right,
                IsAccordionExpandCollapseEnabled = true
            };

            this.AddBindings(new Dictionary<object, string>
                {
                    {source, "ItemsSource KittenGroups"}
                });

            TableView.Source = source;
            TableView.ReloadData();
        }