Beispiel #1
0
 private void downloadListFinish() {
   Log.v(LOG_TAG, "downloadListFinish:" + ACTION_HOTLIST_CHANGED);
   ThemeXmlParser parserXml = new ThemeXmlParser(mContext);
   HotService sv = new HotService(mContext);
   Intent intent = new Intent();
   sv.clearTable();
   for (String item : types) {
     if (parserXml.parseList(DownloadList.getInstance(mContext).getListInfo(), item, mContext)) {
       sv.batchInsert(parserXml.getThemeList());
     }
   }
   saveListTime();
   intent.setAction(ACTION_HOTLIST_CHANGED);
   mContext.sendBroadcast(intent);
 }