问题
I'm trying to figure out how I can disable the update period on my widgets? I don't need this particular feature. I'm just fine with the widget calling onUpdate when added that's it...
回答1:
Just don't include it in your xml and it won't autoupdate, or set it to 0.
来源:https://stackoverflow.com/questions/5641134/how-to-disable-widget-updateperiodmillis