private void init() { try { helper = ESLDatebaseHelper.getHelper(this); configDao = new ConfigDao(helper.getConfigDao()); configList = new ArrayList<Config>(); } catch (SQLException e) { e.printStackTrace(); } catch (java.sql.SQLException e) { e.printStackTrace(); } }
@Override protected void onDestroy() { super.onDestroy(); helper.close(); }