I have the following class:
public class getURLData extends AsyncTask{ @Override protected String doInBackground(String... pa
The only way to send data from AsyncTask to UI without pain is Otto or Event bus. Register a method which will handle a result under @Subscribe annotation in UI and post a message with a result to it in onPostExecute method of your AsyncTask.
AsyncTask
@Subscribe
post
message
onPostExecute