title: Update a view in a fragment
body: <blockquote>
    <p><strong>Possible Duplicate:</strong><br>
    <a href="https://stackoverflow.com/questions/8956803/viewpager-activity-to-notify-a-fragment-of-a-specific-event">ViewPager Activity to notify a Fragment of a specific event</a>  </p>
  </blockquote>
  
  
  
  <p>I am experimenting with using fragments and I ran into this problem.
  I have a service running in the background which I want to update a listview in a fragment. 
  First I just wanted to have the fragment listen for a broadcast, but it seems like registerReceiver is not allowed in a fragment?
  How do I do this. Do I need to listen for a broadcast in the main activity and then somhow send it to the fragment?</p>