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 virtual void BindHeaderAndFooter(BaseHeaderFooterViewController header, BaseHeaderFooterViewController footer) { TableSource.HeaderViewController = header; TableSource.FooterViewController = footer; }