コード例 #1
0
        public override void ViewWillDisappear(bool animated)
        {
            base.ViewWillDisappear(animated);
            View.EndEditing(true);

            TableViewCardEditingChangedNotification?.Dispose();
            TableViewCardEditingChangedNotification = null;

            NoOutletsTappedNotification?.Dispose();
            NoOutletsTappedNotification = null;
        }
コード例 #2
0
        protected override void Dispose(bool disposing)
        {
            base.Dispose(disposing);
            if (disposing)
            {
                HeaderView?.Dispose();
                HeaderView = null;

                TableViewCardEditingChangedNotification?.Dispose();
                TableViewCardEditingChangedNotification = null;

                NoOutletsTappedNotification?.Dispose();
                NoOutletsTappedNotification = null;
            }
        }