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

            ConsoleUtil.LogDisposed(this);
            base.Dispose(disposing);
        }
Exemple #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);
        }
Exemple #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);
        }
Exemple #6
0
        public override void OnDestroyOptionsMenu()
        {
            BindingContext.ClearAllBindings();

            base.OnDestroyOptionsMenu();
        }