示例#1
0
 @Override
 protected void onCreate(Bundle savedInstanceState) {
   super.onCreate(savedInstanceState);
   context = BaseActivity.this;
   //        TAG = getTAG();
   logsTag = getLocalClassName() + "-->";
   application = (DemoApplication) getApplication();
   application.addActivity(this);
 }
示例#2
0
 @Override
 protected void onDestroy() {
   application.delActivity(this);
   super.onDestroy();
 }