Ejemplo n.º 1
0
 // アプリを止めたら
 @Override
 public void onPause() {
   if (mLocationManager != null) {
     mLocationManager.removeUpdates(this);
   }
   super.onPause();
 }
Ejemplo n.º 2
0
 @Override
 public void onPause() {
   if (mTranslationDialog != null) {
     mTranslationDialog.dismiss();
     mTranslationDialog = null;
   }
   super.onPause();
 }
Ejemplo n.º 3
0
 @Override
 public void onPause() {
   super.onPause();
   if (mUploadFinishReceiver != null) {
     getActivity().unregisterReceiver(mUploadFinishReceiver);
     mUploadFinishReceiver = null;
   }
 }
  @Override
  public void onPause() {
    loaderManager.destroyLoader(ID_RATE_LOADER);

    Nfc.unpublish(nfcManager, activity);

    amountCalculatorLink.setListener(null);

    super.onPause();
  }
Ejemplo n.º 5
0
  @Override
  public void onPause() {
    super.onPause();

    getActivity().unregisterReceiver(mDownloadFinishReceiver);
    mDownloadFinishReceiver = null;

    getActivity().unregisterReceiver(mUploadFinishReceiver);
    mUploadFinishReceiver = null;

    if (mPreview != null) {
      mPreview = null;
    }
  }
Ejemplo n.º 6
0
 @Override
 public void onPause() {
   super.onPause();
   addWatchers();
   ScanUtils.measurePos = unitSpinner.getSelectedItemPosition();
   if (nameText.getError() == null) {
     ScanUtils.productName = nameText.getText().toString();
   }
   if (sizeText.getError() == null) {
     ScanUtils.size = Double.parseDouble(sizeText.getText().toString());
   }
   if (priceText.getError() == null) {
     ScanUtils.price = (int) (Double.parseDouble(priceText.getText().toString()) * 100);
   }
   if (categoryBox.getError() == null) {
     ScanUtils.categoryName = categoryBox.getText().toString();
   }
   if (brandBox.getError() == null) {
     ScanUtils.brandName = brandBox.getText().toString();
   }
 }
Ejemplo n.º 7
0
 @Override
 public void onPause() {
   super.onPause();
   EventBus.getDefault().unregister(this);
 }
Ejemplo n.º 8
0
 @Override
 public void onPause() {
   super.onPause();
   Log.d(TAG, "pausing fragment");
 }
 @Override
 public void onPause() {
   Log.v(DetailsFragment.TAG, String.format("in DetailsFragment onPause", mIndex));
   super.onPause();
 }
 @Override
 public void onPause() {
   ((Button) getView().findViewById(R.id.button1)).setOnClickListener(null);
   super.onPause();
 }
 @Override
 public void onPause() {
   super.onPause();
   mDownloadHelper.onActivityPause();
   mRemoteImageLoader.onActivityPause();
 }
 @Override
 public void onPause() {
   super.onPause();
   mCurrentTab = mTabHost.getCurrentTab();
 }
Ejemplo n.º 13
0
  @Override
  public void onPause() {
    super.onPause();

    _compassHelper.unregisterListener();
  }