Beispiel #1
0
        protected override void Dismiss()
        {
            DismissControls();

            UITableViewSource source = _view.Source;

            if (source != null)
            {
                _view.Source = null;
                source.Dispose();
            }
        }
Beispiel #2
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;
            }
        }