@Override protected void onDestroy() { haveDestroy = true; handler.destroy(); activityPool.removeSelf(); super.onDestroy(); }
@Override public void onBackPressed() { if (doubleClickExitAcpplicationDetector != null) { doubleClickExitAcpplicationDetector.click(); } else { super.onBackPressed(); } }
@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); activityPool = new ActivityPool(this); handler = new EasyHandler() { @Override public void handleMessage(Message msg) { onHandleMessage(msg); } }; InjectContentView injectContentView = getClass().getAnnotation(InjectContentView.class); if (injectContentView != null && injectContentView.value() > 0) { setContentView(injectContentView.value()); } }
@Override protected Dialog onCreateDialog(int id) { super.onCreateDialog(id); return ECollegeActivityHelper.createProgressDialog(this); }
@Override public void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); ECollegeActivityHelper.onCreate(this, savedInstanceState); }