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

    ButterKnife.unbind(this);
    Http.cancel(HttpUrl.URL_WEEK_SEVEN);
  }
Ejemplo n.º 3
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   controller.stop();
   orderController.stop();
 }
Ejemplo 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));
  }
Ejemplo n.º 5
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mCompositeSubscription != null) {
     mCompositeSubscription.unsubscribe();
   }
   ButterKnife.unbind(this);
 }
Ejemplo n.º 6
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   ButterKnife.unbind(this);
   if (netWorkReceiver != null) {
     unregisterReceiver(netWorkReceiver);
   }
 }
Ejemplo n.º 7
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mWebView != null) {
     mWebView.removeAllViews();
     mWebView.destroy();
   }
   ButterKnife.unbind(this);
 }
Ejemplo n.º 8
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   if (mBasePresenter != null) {
     mBasePresenter.detachView();
   }
   // RefWatcher refWatcher = NjitCTApp.getRefWatcher(getActivity());
   // refWatcher.watch(this);
 }
Ejemplo n.º 9
0
 @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);
 }
Ejemplo 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);
 }
Ejemplo n.º 14
0
 @Override
 public void onResume() {
   super.onResume();
   ButterKnife.unbind(this);
 }
 @Override
 protected void finalize() throws Throwable {
   ButterKnife.unbind(this);
   super.finalize();
 }
Ejemplo n.º 16
0
 @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();
 }
Ejemplo n.º 20
0
 @Override
 public void onDestroyView() {
   Log.i("onDestroyView", category);
   ButterKnife.unbind(this);
   super.onDestroyView();
 }
Ejemplo n.º 21
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mWebView != null) mWebView.destroy();
   ButterKnife.unbind(this);
 }
Ejemplo n.º 22
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   WallpaperUtils.resetOptionCache(true);
 }
Ejemplo 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());
 }
Ejemplo n.º 25
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
 }
Ejemplo n.º 26
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   EventBus.getDefault().unregister(this);
 }