コード例 #1
0
        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;
            }
        }
コード例 #2
0
 public override nfloat GetHeightForFooter(UITableView tableView, nint section)
 {
     return((section == 0 && FooterViewController != null) ? FooterViewController.GetHeight() : 0.01f);
 }