Пример #1
0
 protected override void OnDestroy()
 {
     base.OnDestroy();
     TabLayout.TabSelected   -= OnTabLayoutOnTabSelected;
     TabLayout.TabReselected -= OnTabLayoutOnTabReselected;
     Cheeseknife.Reset(this);
 }
Пример #2
0
        protected override async void OnDestroy()
        {
            base.OnDestroy();
            await SavePushSettings();

            Cheeseknife.Reset(this);
        }
Пример #3
0
 public override void OnDetach()
 {
     _tokenOneValue.ViewTreeObserver.GlobalLayout -= TokenValuesGlobalLayout;
     _tokenTwoValue.ViewTreeObserver.GlobalLayout -= TokenValuesGlobalLayout;
     base.OnDetach();
     Cheeseknife.Reset(this);
     GC.Collect(0);
 }
 public virtual void ReleaseView()
 {
     RemoveHandlerViews();
     if (!(RootViewApp is ViewGroup))
     {
         return;
     }
     RootViewApp.Background?.SetCallback(null);
     GC.Collect();
     GC.WaitForPendingFinalizers();
     GC.Collect();
     for (var i = 0; i < ((ViewGroup)RootViewApp).ChildCount; i++)
     {
         ((ViewGroup)RootViewApp).GetChildAt(i);
     }
     ((ViewGroup)RootViewApp).RemoveAllViews();
     Cheeseknife.Reset(this);
 }
Пример #5
0
 public override void OnDetach()
 {
     base.OnDetach();
     Cheeseknife.Reset(this);
 }
Пример #6
0
 protected override void OnDestroy()
 {
     base.OnDestroy();
     Cheeseknife.Reset(this);
 }
Пример #7
0
 public override void OnDestroyView()
 {
     base.OnDestroyView();
     Cheeseknife.Reset(this);
 }
Пример #8
0
 public override void OnDetach()
 {
     _searchFacade.TasksCancel();
     base.OnDetach();
     Cheeseknife.Reset(this);
 }
 public override void OnDetach()
 {
     CommentEditCancelBtnOnClick(null, null);
     base.OnDetach();
     Cheeseknife.Reset(this);
 }
 public void OnViewRecycled() => Cheeseknife.Reset(this);