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 17. AppWidgets > Configuring an instance of the AppWidget

17.7. Configuring an instance of the AppWidget

There are two scenarios where our AppWidget may be configured. The first is right after the user requests its creation, and the second is when the user taps on an existing widget instance on the home screen.

Generally speaking, this Activity operates just as any other Activity you’ve experienced throughout the book. It inflates a layout, gets references to the various Views, and responds to user input. Only a couple of items are worthy of highlighting here, but they’re important details that you must implement.


  

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