How to get results from an IntentService back into an Activity?

前端 未结 4 963
猫巷女王i
猫巷女王i 2020-12-01 00:46

I am using an IntentService to handle network communications with a server via JSON. The JSON/server part is working fine, but I\'m having trouble getting the results back

4条回答
  •  悲哀的现实
    2020-12-01 01:25

    If all you need to do is get a JSON from the server without locking up the UI thread, it may be simpler to just use AsyncTask.

提交回复
热议问题