@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.academy_activity); initViews(); initData(); }
@Override protected void onPause() { super.onPause(); MobclickAgent.onPageEnd(getClass().getSimpleName()); // 保证 onPageEnd // 在onPause MobclickAgent.onPause(this); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.gesture_lock_activity); mHandler = new DismissHandler(new WeakReference<GestureLockActivity>(this)); mLockUtil = new LockPatternUtils(GestureLockActivity.this); initViews(); }
@Override public void onHttpSuccess(String path, String result) { super.onHttpSuccess(path, result); if (TextUtils.isEmpty(result)) { Toaster.showShort(this, "服务器出错了,请重试"); LogUtil.e(this, "网络返回的数据为空"); return; } dealWithHttpReturned(result); }
@Override protected void onResume() { super.onResume(); MobclickAgent.onPageStart(getClass().getSimpleName()); // 统计页面 MobclickAgent.onResume(this); }