Android AsyncTask Pub Sub to Context? -


One of the best ways to inform activity that I have started an AsyncTask is that the AsyncTask has been activated Can pass as a reference, but I do not want to know about the type of activity asynchronous.

In the .NET land, I subscribe to an event on "Async Task". I did not find any way to do this in Android

Once someone has to send AsyncTask is finished, and if you have different types of activities So whoever is active will get it. To send the broadcast you have to pass the reference on the asynchronous, but your asynchronous does not need to decide which reference is.


Comments

Popular posts from this blog

Eclipse CDT variable colors in editor -

AJAX doesn't send POST query -

wpf - Custom Message Box Advice -