@Override public void onPause(){
  super.onPause();
  mActiveListAdapter.cleanup();
}

@ Override public void onPause ( ) { super . onPause ( ) ; mActiveListAdapter . cleanup ( ) ; }
cleanup the adapter when activity is paused .
