public DVCMenu()
     : base(UITableViewStyle.Grouped, null)
 {
     Root = new RootElement ("iCarousel") {
         new Section ("Samples"){
             new StringElement ("Simple Demo", () => {
                 var vc = new SimpleSampleViewController ();
                 NavigationController.PushViewController (vc, true);
             }),
             new StringElement ("Controls Demo", () => {
                 var vc = new ControlsViewController ();
                 NavigationController.PushViewController (vc, true);
             }),
             new StringElement ("Buttons Demo", () => {
                 var vc = new ButtonsViewController ();
                 NavigationController.PushViewController (vc, true);
             }),
             new StringElement ("Auto Scroll Demo", () => {
                 var vc = new AutoScrollViewController ();
                 NavigationController.PushViewController (vc, true);
             }),
             new StringElement ("Async Image Demo", () => {
                 var vc = new AsyncImageViewController ();
                 NavigationController.PushViewController (vc, true);
             })
         }
     };
 }
Esempio n. 2
0
 public DVCMenu() : base(UITableViewStyle.Grouped, null)
 {
     Root = new RootElement("iCarousel")
     {
         new Section("Samples")
         {
             new StringElement("Simple Demo", () => {
                 var vc = new SimpleSampleViewController();
                 NavigationController.PushViewController(vc, true);
             }),
             new StringElement("Controls Demo", () => {
                 var vc = new ControlsViewController();
                 NavigationController.PushViewController(vc, true);
             }),
             new StringElement("Buttons Demo", () => {
                 var vc = new ButtonsViewController();
                 NavigationController.PushViewController(vc, true);
             }),
             new StringElement("Auto Scroll Demo", () => {
                 var vc = new AutoScrollViewController();
                 NavigationController.PushViewController(vc, true);
             }),
             new StringElement("Async Image Demo", () => {
                 var vc = new AsyncImageViewController();
                 NavigationController.PushViewController(vc, true);
             })
         }
     };
 }
Esempio n. 3
0
 public ButtonsDataSource(ButtonsViewController vc)
 {
     this.vc = vc;
 }
 public ButtonsDataSource(ButtonsViewController vc)
 {
     this.vc = vc;
 }