Esempio n. 1
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   RefWatcher refWatcher = AppClient.getRefWatcher(getActivity());
   refWatcher.watch(this);
 }
Esempio n. 2
0
  @Override
  protected void onDestroy() {
    super.onDestroy();

    ButterKnife.unbind(this);
    Http.cancel(HttpUrl.URL_WEEK_SEVEN);
  }
Esempio n. 3
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   controller.stop();
   orderController.stop();
 }
Esempio n. 4
0
  @Test
  public void zeroInjectionsResetDoesNotThrowException() {
    class Example {}

    Example example = new Example();
    ButterKnife.unbind(example);
    assertThat(ButterKnife.INJECTORS).contains(entry(Example.class, ButterKnife.NOP_VIEW_BINDER));
  }
Esempio n. 5
0
 @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);
   }
 }
Esempio n. 7
0
 @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);
 }
Esempio n. 12
0
 @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);
 }
Esempio n. 14
0
 @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();
 }
Esempio n. 21
0
 @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);
 }
Esempio n. 23
0
 @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());
 }
Esempio n. 25
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
 }
Esempio n. 26
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   EventBus.getDefault().unregister(this);
 }