Advertisement
ProgrameruPokusaju

sdsds

Sep 26th, 2017
64
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.37 KB | None | 0 0
  1.  /**
  2.      * Set new AsyncTask in HashMap so that application can keep track of active async tasks
  3.      * @param asyncTaskName
  4.      * @param asyncTask
  5.      */
  6.     public static void setAsyncTask(String asyncTaskName,AsyncTask asyncTask) {
  7.         HashMap<String, AsyncTask> hashMap = new HashMap<String, AsyncTask>();
  8.         hashMap.put(asyncTaskName,asyncTask);
  9.     }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement