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); }) } }; }
public ButtonsDataSource(ButtonsViewController vc) { this.vc = vc; }