Safari Books Online is a digital library providing on-demand subscription access to thousands of learning resources.
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.