@Override protected void onResume() { DataUser.setContext(this); super.onResume(); if (mXwalkView != null) { mXwalkView.resumeTimers(); mXwalkView.onShow(); } }
@Override protected void onPause() { super.onPause(); DataUser.setContext(null); if (mXwalkView != null) { mXwalkView.pauseTimers(); mXwalkView.onHide(); } }