Chapter  26

Exploring List Widgets

As you learned in Chapter 25, remote views form the core of home screen widgets. A home screen widget is essentially a remote view that is painted on the home screen. A remote view is a view that is entirely disconnected from the underlying data, much like a web page is disconnected from its server.

Collection views such as lists and grids were not part of allowed widgets in the 2.3 release. In release 3.0 they are, allowing for a richer experience on the home screen. Release 3.0 also offers a mini-framework around these collection-based widgets to load and present data asynchronously. There are new classes and methods in 3.0 to support these aspects. As you may know, the 3.0 SDK is optimized and unique for ...

Get Pro Android 4 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.