Beispiel #1
0
        public override void ViewDidLoad()
        {
            base.ViewDidLoad();

            _postTableViewSource = new PostTableViewSource();

            tblMain.RegisterNibForCellReuse(PostViewCell.Nib, PostViewCell.Key);
            tblMain.Source = _postTableViewSource;
        }
Beispiel #2
0
        private void ConfigureTableView()
        {
            _tableSource = new PostTableViewSource(TableView);

            TableView.Source             = _tableSource;
            TableView.RowHeight          = UITableView.AutomaticDimension;
            TableView.EstimatedRowHeight = 500;

            TableView.ReloadData();
        }