@Override public void onStart() { super.onStart(); if (serviceHeaderView != null) { serviceHeaderView.startBannerTurning(); } }
@Override public void onClick(View v) { super.onClick(v); switch (v.getId()) { case R.id.iv_user_logo: startActivity(new Intent(getActivity(), PersonalActivity_.class)); MobclickAgent.onEvent(getActivity(), "1"); SysManager.analysis(R.string.c_type_click, R.string.c001); break; case R.id.rl_setting: MobclickAgent.onEvent(getActivity(), "2"); SysManager.analysis(R.string.c_type_click, R.string.c002); startActivity(new Intent(getActivity(), SettingActivity_.class)); SharedPreferenceManager.getInstance().putBoolean("isClickSetting", true); ivVersionFlag.setVisibility(View.GONE); break; case R.id.iv_scan: getActivity().startActivityForResult((new Intent(getActivity(), CaptureActivity.class)), 1); break; } }
@Override public void onPause() { super.onPause(); MobclickAgent.onPageEnd(getString(R.string.p10001)); }
@Override public void onResume() { super.onResume(); MobclickAgent.onPageStart(getString(R.string.p10001)); SysManager.analysis(R.string.p_type_page, R.string.p10001); }