protected override void Dispose(bool disposing)
 {
     if (disposing)
     {
         BindingContext.ClearAllBindings();
     }
     base.Dispose(disposing);
 }
Beispiel #2
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                BindingContext.ClearAllBindings();
            }

            ConsoleUtil.LogDisposed(this);
            base.Dispose(disposing);
        }
Beispiel #3
0
        protected override void Dispose(bool disposing)
        {
            if (disposing)
            {
                BindingContext.ClearAllBindings();

                _subscription?.Dispose();
                _subscription = null;

                this.TagSelected     -= this.Handle_TagSelected;
                this.TagButtonTapped -= this.Handle_TagButtonTapped;
            }
            base.Dispose(disposing);
        }
Beispiel #4
0
 protected override void HandleDisposeCalled(object sender, EventArgs e)
 {
     FragmentView !.BindingContext?.ClearAllBindings();
     base.HandleDisposeCalled(sender, e);
 }
        public void SetCommentingEnabled(bool enabled)
        {
            BindingContext.ClearAllBindings();

            SetupBindings(enabled);
        }
Beispiel #6
0
        public override void OnDestroyOptionsMenu()
        {
            BindingContext.ClearAllBindings();

            base.OnDestroyOptionsMenu();
        }