Example #1
0
 @Override
 public void onPause() {
   super.onPause();
   if (xWalkWebView != null) {
     xWalkWebView.pauseTimers();
     xWalkWebView.onHide();
   }
 }
Example #2
0
 @Override
 protected void onPause() {
   super.onPause();
   DataUser.setContext(null);
   if (mXwalkView != null) {
     mXwalkView.pauseTimers();
     mXwalkView.onHide();
   }
 }