void InsertRow() { var newIndexPath = NSIndexPath.FromRowSection(customNativeAds.Count - 1, 0); AdsTableView.InsertRows(new [] { newIndexPath }, UITableViewRowAnimation.Automatic); AdsTableView.ScrollToRow(newIndexPath, UITableViewScrollPosition.Bottom, true); }
void ReleaseDesignerOutlets() { if (AdsTableView != null) { AdsTableView.Dispose(); AdsTableView = null; } if (BannerView != null) { BannerView.Dispose(); BannerView = null; } }