@Override public void onStop() { super.onPause(); english_popular.stopFlipping(); english_rated.stopFlipping(); english_recent.stopFlipping(); }
/* * (non-Javadoc) * @see android.app.Activity#onPause() */ @Override protected void onPause() { super.onPause(); mViewFlipper.stopFlipping(); mGraphTimeSpeed.clearData(); mGraphDistanceSpeed.clearData(); mGraphTimeAltitude.clearData(); mGraphDistanceAltitude.clearData(); ContentResolver resolver = this.getContentResolver(); resolver.unregisterContentObserver(this.mTrackObserver); }
@Override public void onBackPressed() { viewFlipper.stopFlipping(); super.onBackPressed(); }