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);
             })
         }
     };
 }
 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);
             })
         }
     };
 }
Beispiel #3
0
 public SimpleDataSource(SimpleSampleViewController vc)
 {
     this.vc = vc;
 }
Beispiel #4
0
 public SimpleDelegate(SimpleSampleViewController vc)
 {
     this.vc = vc;
 }
 public SimpleDataSource(SimpleSampleViewController vc)
 {
     this.vc = vc;
 }
 public SimpleDelegate(SimpleSampleViewController vc)
 {
     this.vc = vc;
 }