@Override
 public void onStop() {
   // save timestamp
   SharedPreferences settings = getActivity().getSharedPreferences(SHARED, 0);
   SharedPreferences.Editor editor = settings.edit();
   editor.putLong(TIMESTAMP, timestamp);
   mDBAdapter.close();
   super.onStop();
 }
Beispiel #2
0
 @Override
 public void onStop() {
   super.onStop();
   if (mBound) {
     getActivity().unbindService(mConnection);
     mBound = false;
     Log.i("HabrQA", "Service stopped");
   }
 }
  @Override
  public void onStop() {
    super.onStop();

    if (mAdapter != null) mAdapter.changeCursor(null);
  }
Beispiel #4
0
 @Override
 public void onStop() {
   super.onStop();
   quickAddBar.destroyRecognizerApi();
 }
Beispiel #5
0
 @Override
 public void onStop() {
   super.onStop();
   getActivity().unbindService(mServiceConnection);
 }
 @Override
 public void onStop() {
   super.onStop();
   itsSyncTask.cancel();
 }
 @Override
 public void onStop() {
   super.onStop();
   dpApp.removeApiListener(this);
 }