コード例 #1
0
 private void search(
     int first, int count, String keyWord, ArrayList<VodProgramData> list, boolean isLoadMore) {
   if (searchTask == null) {
     searchTask = new SearchTask(this, isLoadMore);
     searchTask.execute(this, first, count, keyWord, list);
   }
 }
コード例 #2
0
 private void close() {
   if (searchTask != null) {
     searchTask.cancel(true);
     searchTask = null;
   }
   if (hotPlayTask != null) {
     hotPlayTask.cancel(true);
     hotPlayTask = null;
   }
   finish();
 }