示例#1
0
 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();
   }
 }
示例#2
0
 @Override
 protected void onDestroy() {
   super.onDestroy();
   helper.close();
 }