Cycling Widgets

Can you set a widget to cycle automatically, say every 5 seconds?

That is what getTimeline in the TimelineProvider is for, although setting up for a cycle time of 5 seconds might hit a limit on the widget.

Widgets are meant to be lightweight information providers, to minimise the interaction with your main app, and save on the battery power. So the all details are prepared in advance and the widget views created. The sequence is then stashed away and triggered to display at the appropriate time. Minimal resource used to run the widget.

Cycling Widgets
 
 
Q