コード例 #1
0
 private void NavigateBack()
 {
     // since we're in the edit page, we need to pop twice
     controller.PopViewControllerAnimated(false);
     controller.PopViewControllerAnimated(true);
     root.Dispose();
 }
コード例 #2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (root != null)
            {
                root.Dispose();
                root = null;
            }
        }
コード例 #3
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);

            if (tableView != null)
            {
                tableView.Dispose();
                tableView = null;
            }

            if (source != null)
            {
                source.Dispose();
                source = null;
            }

            if (root != null)
            {
                root.Dispose();
                root = null;
            }
        }