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); } }
private void close() { if (searchTask != null) { searchTask.cancel(true); searchTask = null; } if (hotPlayTask != null) { hotPlayTask.cancel(true); hotPlayTask = null; } finish(); }