protected override void Dispose(bool disposing) { base.Dispose(disposing); if (disposing) { if (HeaderViewController != null) { HeaderViewController.Dispose(); HeaderViewController = null; } if (FooterViewController != null) { FooterViewController.Dispose(); FooterViewController = null; } ItemSelected = null; ItemDeselected = null; TableItems = null; } }
public override nfloat GetHeightForFooter(UITableView tableView, nint section) { return((section == 0 && FooterViewController != null) ? FooterViewController.GetHeight() : 0.01f); }