Exemple #1
0
 void updateListView() throws Exception {
   mFileList.clear();
   try {
     InitFileByPath(mFile.getPath());
     ArrayList<FileInfo> list = mFile.getFileInfo();
     Iterator<FileInfo> it = list.iterator();
     while (it.hasNext()) {
       mFileList.add(it.next());
     }
     mFragHandler.post(mUpdateUI);
   } catch (Exception e) {
     Log.e("updateListView", "Update list view is fail.");
     throw e;
   }
 }