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

            source = new HackerNewsTableSource(Enumerable.Empty<Entry>());

            TableView = new UITableView(Rectangle.Empty) {Source = source};

            RefreshControl = new UIRefreshControl();

            source.OnRowSelect = OnRowSelect;
            RefreshControl.ValueChanged += RefreshControlOnValueChanged;
        }
Example #2
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            source = new HackerNewsTableSource(Enumerable.Empty <Entry>());

            TableView = new UITableView(Rectangle.Empty)
            {
                Source = source
            };

            RefreshControl = new UIRefreshControl();

            source.OnRowSelect           = OnRowSelect;
            RefreshControl.ValueChanged += RefreshControlOnValueChanged;
        }