// アプリを止めたら @Override public void onPause() { if (mLocationManager != null) { mLocationManager.removeUpdates(this); } super.onPause(); }
@Override public void onPause() { if (mTranslationDialog != null) { mTranslationDialog.dismiss(); mTranslationDialog = null; } super.onPause(); }
@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(); }
@Override public void onPause() { super.onPause(); getActivity().unregisterReceiver(mDownloadFinishReceiver); mDownloadFinishReceiver = null; getActivity().unregisterReceiver(mUploadFinishReceiver); mUploadFinishReceiver = null; if (mPreview != null) { mPreview = null; } }
@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(); } }
@Override public void onPause() { super.onPause(); EventBus.getDefault().unregister(this); }
@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(); }
@Override public void onPause() { super.onPause(); _compassHelper.unregisterListener(); }