protected override void OnDestroy() { base.OnDestroy(); TabLayout.TabSelected -= OnTabLayoutOnTabSelected; TabLayout.TabReselected -= OnTabLayoutOnTabReselected; Cheeseknife.Reset(this); }
protected override async void OnDestroy() { base.OnDestroy(); await SavePushSettings(); Cheeseknife.Reset(this); }
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); }
public override void OnDetach() { base.OnDetach(); Cheeseknife.Reset(this); }
protected override void OnDestroy() { base.OnDestroy(); Cheeseknife.Reset(this); }
public override void OnDestroyView() { base.OnDestroyView(); Cheeseknife.Reset(this); }
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);