Esempio n. 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();
 }
Esempio n. 2
0
 @Override
 protected void onResume() {
   ThirdUtils.statisticsInActivityResume(this);
   PreOnResume();
   super.onResume();
 }