@Override protected void onPause() { super.onPause(); Timer.stopTimer(); /*Calendar calendar = Calendar.getInstance(); mStopTime = calendar.getTimeInMillis(); CAActivity.mTimeCalculation +=(int) mStopTime-mStartTime;*/ }
@Override protected void onResumeFragments() { super.onResumeFragments(); Timer.startTimer(); /*Log.i("ChainNameActivity", "onResume"); Calendar calendar = Calendar.getInstance(); mStartTime = calendar.getTimeInMillis();*/ }