@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();
 }
예제 #2
0
 @Override
 public void onStop() {
   super.onStop();
   if (mBound) {
     getActivity().unbindService(mConnection);
     mBound = false;
     Log.i("HabrQA", "Service stopped");
   }
 }
예제 #3
0
  @Override
  public void onStop() {
    super.onStop();

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