Пример #1
0
 @Override
 protected void onResume() {
   DataUser.setContext(this);
   super.onResume();
   if (mXwalkView != null) {
     mXwalkView.resumeTimers();
     mXwalkView.onShow();
   }
 }
Пример #2
0
 @Override
 protected void onPause() {
   super.onPause();
   DataUser.setContext(null);
   if (mXwalkView != null) {
     mXwalkView.pauseTimers();
     mXwalkView.onHide();
   }
 }