@Override public void onScrollStateChanged(AbsListView view, int scrollState) { super.onScrollStateChanged(view, scrollState); if (SCROLL_STATE_TOUCH_SCROLL == scrollState) { showDialpad(false); } if (SCROLL_STATE_FLING == scrollState) { mPhotoLoader.pause(); mNumLocationLoader.pause(); } else { mPhotoLoader.resume(); mNumLocationLoader.resume(); } }
@Override protected void onResume() { super.onResume(); mPhotoLoader.resume(); mNumLocationLoader.resume(); setVolumeControlStream(AudioManager.STREAM_SYSTEM); PimEngine.getInstance(this).setCallLogsRead(); CommonMethod.cancelMissedCallNotification(this); if (mHandler.hasMessages(RELOAD_DIALPADS)) { log("onResume"); mHandler.removeMessages(RELOAD_DIALPADS); reloadDialpadItems(); } mIsResume = true; }