Exemplo n.º 1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();
            //CashflowTheme.Apply (View, ColorScheme.Black);

            var ind = SplitViewController.ViewControllers.Length - 1;

            detailViewController = (DetailViewController)(((UINavigationController)SplitViewController.ViewControllers [ind]).ViewControllers [0]);

            String defaultDesc = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";

            rows = new List <Dictionary <string, object> > ()
            {
                new Dictionary <string, object>()
                {
                    { "title", "Car early revision" },
                    { "value", 600.0f },
                    { "description", defaultDesc },
                    { "icon", "Images/iPad/activity-car.png" },
                },
                new Dictionary <string, object>()
                {
                    { "title", @"House cleaning" },
                    { "value", 100.0f },
                    { "description", defaultDesc },
                    { "icon", "Images/iPad/activity-car.png" },
                },
                new Dictionary <string, object>()
                {
                    { "title", "Weekend holiday" },
                    { "value", 300.0f },
                    { "description", defaultDesc },
                    { "icon", "Images/iPad/activity-car.png" },
                },
                new Dictionary <string, object>()
                {
                    { "title", "Food provisions" },
                    { "value", 50.0f },
                    { "description", defaultDesc },
                    { "icon", "Images/iPad/activity-car.png" },
                }
            };
            Title = "List";
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();
            //CashflowTheme.Apply (View, ColorScheme.Black);

            var ind = SplitViewController.ViewControllers.Length - 1;
            detailViewController = (DetailViewController)(((UINavigationController)SplitViewController.ViewControllers [ind]).ViewControllers [0]);

            String defaultDesc = "Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.";
            rows = new List<Dictionary<string, object>> () {
                new Dictionary<string, object>(){
                    {"title", "Car early revision"},
                    {"value", 600.0f},
                    {"description", defaultDesc},
                    {"icon", "Images/iPad/activity-car.png"},
                },
                new Dictionary<string, object>(){
                    {"title", @"House cleaning"},
                    {"value", 100.0f},
                    {"description", defaultDesc},
                    {"icon", "Images/iPad/activity-car.png"},
                },
                new Dictionary<string, object>(){
                    {"title", "Weekend holiday"},
                    {"value", 300.0f},
                    {"description", defaultDesc},
                    {"icon", "Images/iPad/activity-car.png"},
                },
                new Dictionary<string, object>(){
                    {"title", "Food provisions"},
                    {"value", 50.0f},
                    {"description", defaultDesc},
                    {"icon", "Images/iPad/activity-car.png"},
                }
            };
            Title = "List";
        }