This sample shows how to construct a simple collection widget. This particular example shows how
to create a widget containing a StackView
; however, only minimal changes are required to include
a ListView
,
GridView
or
AdapterViewFlipper
instead.
The sample demonstrates the following:
RemoteViewsService
and RemoteViewsFactory
which
serve the function of an adapter for the widget collection.
StackView
(or AdapterViewFlipper
) auto-advance.