@Override protected void onResume() { super.onResume(); String name = (String) SPUtils.get(this, Constants.SPKey.ACCOUNT_NAME, getString(R.string.setting_login)); mTxtLogIn.setText(name); }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); initDatas(); initTitles(); initViews(); initEvents(); }
@Override protected void onDestroy() { super.onDestroy(); if (null != mDialog && mDialog.isShowing()) { mDialog.dismiss(); } // 关闭音乐播放服务 // stopService(CommUtils.getMaskIntent(this, null, LocalPlayerService.class)); }
@Override protected void onPause() { super.onPause(); }