@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); RefWatcher refWatcher = AppClient.getRefWatcher(getActivity()); refWatcher.watch(this); }
@Override protected void onDestroy() { super.onDestroy(); ButterKnife.unbind(this); Http.cancel(HttpUrl.URL_WEEK_SEVEN); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); controller.stop(); orderController.stop(); }
@Test public void zeroInjectionsResetDoesNotThrowException() { class Example {} Example example = new Example(); ButterKnife.unbind(example); assertThat(ButterKnife.INJECTORS).contains(entry(Example.class, ButterKnife.NOP_VIEW_BINDER)); }
@Override protected void onDestroy() { super.onDestroy(); if (mCompositeSubscription != null) { mCompositeSubscription.unsubscribe(); } ButterKnife.unbind(this); }
@Override protected void onDestroy() { super.onDestroy(); ButterKnife.unbind(this); if (netWorkReceiver != null) { unregisterReceiver(netWorkReceiver); } }
@Override protected void onDestroy() { super.onDestroy(); if (mWebView != null) { mWebView.removeAllViews(); mWebView.destroy(); } ButterKnife.unbind(this); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); if (mBasePresenter != null) { mBasePresenter.detachView(); } // RefWatcher refWatcher = NjitCTApp.getRefWatcher(getActivity()); // refWatcher.watch(this); }
@Override protected void onDestroy() { ButterKnife.unbind(this); if (mWebView != null) { mWebView.setFocusable(true); // mWebView.removeAllViews(); mWebView.clearHistory(); mWebView.destroy(); } super.onDestroy(); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(FragmentRegistrasi.this); }
@Override protected void onDestroy() { super.onDestroy(); ButterKnife.unbind(this); EventBus.getDefault().unregister(this); }
@Override protected void onDestroy() { super.onDestroy(); ButterKnife.unbind(this); // Unbind the views of this Activity to avoid Memory leaks }
/** * Last chance at the view before it is detached. You can save state with hack, (restore it the * same way by reading the field). objects saved with be "parceled" by gson. Example: * * <p>((ProfileEditView)Path.get(view.getContext())).somePublicField = "Something you want to * save" */ @Override public void dropView(ProfileEditView view) { super.dropView(view); ButterKnife.unbind(this); }
@Override public void onResume() { super.onResume(); ButterKnife.unbind(this); }
@Override protected void finalize() throws Throwable { ButterKnife.unbind(this); super.finalize(); }
@Override protected void onDestroy() { super.onDestroy(); ButterKnife.unbind(this); }
public void unbind(Activity activity) { ButterKnife.unbind(this); }
@Override protected void onDetachedFromWindow() { super.onDetachedFromWindow(); ButterKnife.unbind(this); }
@Override public void onDestroy() { ButterKnife.unbind(this); ((BaseActivity) getActivity()).fragmentComponentHolder.releaseFragmentComponent(); super.onDestroy(); }
@Override public void onDestroyView() { Log.i("onDestroyView", category); ButterKnife.unbind(this); super.onDestroyView(); }
@Override protected void onDestroy() { super.onDestroy(); if (mWebView != null) mWebView.destroy(); ButterKnife.unbind(this); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); WallpaperUtils.resetOptionCache(true); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); this.commonPresenter.close(); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); mInstallApkReceiver.unregisterReceiver(this.getActivity()); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); }
@Override public void onDestroyView() { super.onDestroyView(); ButterKnife.unbind(this); EventBus.getDefault().unregister(this); }