Free Trial

Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.


  • Create BookmarkCreate Bookmark
  • Create Note or TagCreate Note or Tag
  • DownloadDownload
  • PrintPrint
Share this Page URL
Help

Chapter 11. Broadcast Receivers > The TimelineReceiver

11.3. The TimelineReceiver

Currently, if you view your Timeline activity while a new status update comes in, you won’t know about it. That’s because the UpdaterService doesn’t have a way to notify TimelineActivity to refresh itself.

To address this, we create another broadcast receiver, this time as an inner class of TimelineActivity, as shown in Example 11-4.


  

You are currently reading a PREVIEW of this book.

                                                                                        

Get instant access to over
$1 million worth of books and videos.

  

Start a Free Trial