MonoTouch.Dialog.DialogViewController.ConfigureTableView C# (CSharp) Method

ConfigureTableView() public method

public ConfigureTableView ( ) : void
return void
		void ConfigureTableView ()
		{
			if (topRefreshRequested != null){
				var bounds = View.Bounds;
				topRefreshView = MakeRefreshTableHeaderView (new RectangleF (0, -bounds.Height, bounds.Width, bounds.Height), true);
				if (reloading)
					topRefreshView.SetActivity (true);
				TableView.AddSubview (topRefreshView);
			}
			if (bottomRefreshRequested != null){
				var bounds = View.Bounds;
				tableView.LayoutIfNeeded();
				bottomRefreshView = MakeRefreshTableHeaderView (new RectangleF (0, tableView.ContentSize.Height, bounds.Width, bounds.Height), false);
				bottomRefreshView.FromTop = false;
				if (reloading)
					bottomRefreshView.SetActivity (true);
				TableView.AddSubview (bottomRefreshView);
			}
		}