예제 #1
0
 @Override
 protected void onPause() {
   MApplication.getInstance().getmNewsLifecycleHandler().onActivityPaused(this);
   ThirdUtils.statisticsInActivityPause(this);
   if (alertDialog != null && alertDialog.isShowing()) {
     alertDialog.hide();
   }
   if (materialDialog != null && materialDialog.isShowing()) {
     materialDialog.hide();
   }
   PreOnPause();
   super.onPause();
 }
예제 #2
0
 @Override
 protected void onResume() {
   ThirdUtils.statisticsInActivityResume(this);
   PreOnResume();
   super.onResume();
 }