title: How should a fragment get notified about the result of an asynchronous task?
body: <p>I have an Activity that uses fragments. These fragments may come and go, based on the users interactions. Many of these fragments launch jobs to an IntentService, which get to run async this way. How should the IntentService report back the results of these jobs? </p>
  
  <p>The fragment that started the job may of may not be present. If a job finishes and the starting fragment is currently active, then it should get notified about this, and act accordingly. If it's not, then no action is needed.</p>
  
  <p>I've thought about using broadcast intents and BroadcastReceiver components, but fragments can't register receivers, only activities.</p>
  
  <p>What solution would you suggest?</p>