Is there any call in android sort of, startServiceForResult, just like we have startActivityForResult?
I have created a service to retrieve data from the web APIs and now I want to populate a ListView using that data.
I noticed that using Broadcast Receiver, the only method I have is onReceive, which has void datatype and hence I cannot properly inflate my list with the data I receive.
In case there is no startServiceForResult, will it be valid and would it work properly if I pass a service inside the startActivityForResult method call?