1

How i can get response from my AsyncTask class? i can use onPostExecute method. But is the way that when i call execute() method after this take response? i tryed to pass result using property of async class, but it doesn't work. How i can to do it?

ToYonos
  • 16,469
  • 2
  • 54
  • 70
Boris Kuzevanov
  • 1,232
  • 1
  • 12
  • 21

1 Answers1

1

If you are using an asynctask that means you need to run something in a seperate thread because it is either a time consuming task or a network operation. That means you must use onPostExecute to do whatever you need to do with the result you get there

tyczj
  • 71,600
  • 54
  • 194
  • 296