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

    ButterKnife.unbind(this);
    Http.cancel(HttpUrl.URL_WEEK_SEVEN);
  }
예제 #3
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   controller.stop();
   orderController.stop();
 }
예제 #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));
  }
예제 #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);
   }
 }
예제 #7
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   if (mWebView != null) {
     mWebView.removeAllViews();
     mWebView.destroy();
   }
   ButterKnife.unbind(this);
 }
예제 #8
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   if (mBasePresenter != null) {
     mBasePresenter.detachView();
   }
   // RefWatcher refWatcher = NjitCTApp.getRefWatcher(getActivity());
   // refWatcher.watch(this);
 }
예제 #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);
 }
예제 #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);
 }
예제 #14
0
 @Override
 public void onResume() {
   super.onResume();
   ButterKnife.unbind(this);
 }
 @Override
 protected void finalize() throws Throwable {
   ButterKnife.unbind(this);
   super.finalize();
 }
예제 #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();
 }
예제 #20
0
 @Override
 public void onDestroyView() {
   Log.i("onDestroyView", category);
   ButterKnife.unbind(this);
   super.onDestroyView();
 }
예제 #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);
 }
예제 #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());
 }
예제 #25
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
 }
예제 #26
0
 @Override
 public void onDestroyView() {
   super.onDestroyView();
   ButterKnife.unbind(this);
   EventBus.getDefault().unregister(this);
 }