Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- /**
- * Set new AsyncTask in HashMap so that application can keep track of active async tasks
- * @param asyncTaskName
- * @param asyncTask
- */
- public static void setAsyncTask(String asyncTaskName,AsyncTask asyncTask) {
- HashMap<String, AsyncTask> hashMap = new HashMap<String, AsyncTask>();
- hashMap.put(asyncTaskName,asyncTask);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement