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

            // make the main content area scroll over two pages
            this.scrollView.ContentSize   = new SizeF(this.scrollView.Bounds.Width * 2, this.scrollView.Bounds.Height);
            this.scrollView.PagingEnabled = true;

            // add page one
            var nibObjects = NSBundle.MainBundle.LoadNib("DashboardPageOneView", this, null);

            _pageOne       = (DashboardPageOneView)Runtime.GetNSObject(nibObjects.ValueAt(0));
            _pageOne.Frame = this.scrollView.Bounds;
            this.scrollView.Add(_pageOne);

            // add page two
            nibObjects     = NSBundle.MainBundle.LoadNib("DashboardPageTwoView", this, null);
            _pageTwo       = (DashboardPageTwoView)Runtime.GetNSObject(nibObjects.ValueAt(0));
            _pageTwo.Frame = new RectangleF(new PointF(this.scrollView.Bounds.Width, 0), this.scrollView.Bounds.Size);
            this.scrollView.Add(_pageTwo);

            // Need to set the repo for our views
            FetchDataForRepo("tastejs", "PropertyCross");

            // Add the touch handler to the repo summary
            this.repoSummary.SetTapHandler(nameLabelFrame => {
                if (_repoSelectorVC == null)
                {
                    _repoSelectorVC = new RepoSelectorViewControllerController(_githubUserName, repoName => {
                        InvokeOnMainThread(() => {
                            _popover.Dismiss(true);
                            FetchDataForRepo(_githubUserName, repoName);
                        });
                    });
                }
                _popover = new UIPopoverController(_repoSelectorVC);
                _popover.PresentFromRect(nameLabelFrame, this.repoSummary, UIPopoverArrowDirection.Up, true);
            });
        }
        public override void ViewDidLoad()
        {
            base.ViewDidLoad ();

            // make the main content area scroll over two pages
            this.scrollView.ContentSize = new SizeF (this.scrollView.Bounds.Width * 2, this.scrollView.Bounds.Height);
            this.scrollView.PagingEnabled = true;

            // add page one
            var nibObjects = NSBundle.MainBundle.LoadNib("DashboardPageOneView", this, null);
            _pageOne = (DashboardPageOneView)Runtime.GetNSObject(nibObjects.ValueAt(0));
            _pageOne.Frame = this.scrollView.Bounds;
            this.scrollView.Add(_pageOne);

            // add page two
            nibObjects = NSBundle.MainBundle.LoadNib("DashboardPageTwoView", this, null);
            _pageTwo = (DashboardPageTwoView)Runtime.GetNSObject(nibObjects.ValueAt(0));
            _pageTwo.Frame = new RectangleF (new PointF(this.scrollView.Bounds.Width, 0), this.scrollView.Bounds.Size);
            this.scrollView.Add(_pageTwo);

            // Need to set the repo for our views
            FetchDataForRepo ("tastejs", "PropertyCross");

            // Add the touch handler to the repo summary
            this.repoSummary.SetTapHandler ( nameLabelFrame => {
                if(_repoSelectorVC == null) {
                    _repoSelectorVC = new RepoSelectorViewControllerController (_githubUserName, repoName => {
                        InvokeOnMainThread(() => {
                            _popover.Dismiss(true);
                            FetchDataForRepo (_githubUserName, repoName);
                        });
                    });
                }
                _popover = new UIPopoverController(_repoSelectorVC);
                _popover.PresentFromRect (nameLabelFrame, this.repoSummary, UIPopoverArrowDirection.Up, true);
            });
        }