示例#1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   setContentView(R.layout.academy_activity);
   initViews();
   initData();
 }
示例#2
0
 @Override
 protected void onPause() {
   super.onPause();
   MobclickAgent.onPageEnd(getClass().getSimpleName()); // 保证 onPageEnd
   // 在onPause
   MobclickAgent.onPause(this);
 }
示例#3
0
 @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();
 }
示例#4
0
 @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);
 }
示例#5
0
 @Override
 protected void onResume() {
   super.onResume();
   MobclickAgent.onPageStart(getClass().getSimpleName()); // 统计页面
   MobclickAgent.onResume(this);
 }