void ConfigureTableView() { if (refreshRequested != null) { // The dimensions should be large enough so that even if the user scrolls, we render the // whole are with the background color. var bounds = View.Bounds; refreshView = MakeRefreshTableHeaderView(new RectangleF(0, -bounds.Height, bounds.Width, bounds.Height)); if (reloading) { refreshView.SetActivity(true); } TableView.AddSubview(refreshView); } }
void ConfigureTableView () { if (refreshRequested != null){ // The dimensions should be large enough so that even if the user scrolls, we render the // whole are with the background color. var bounds = View.Bounds; refreshView = MakeRefreshTableHeaderView (new RectangleF (0, -bounds.Height, bounds.Width, bounds.Height)); if (reloading) refreshView.SetActivity (true); TableView.AddSubview (refreshView); } }