我工作的一个小窗口,我有一个默认的更新间隔,但我希望用户能够更改时间,我可以修改updatePeriodMillis从code?或者我必须使用AlarmManager?
非常感谢!
解决方案我可以从code修改updatePeriodMillis?
没有,不好意思。
或者我必须使用AlarmManager?
是的。
I'm working on a widget and I have a default update interval, but I want the user to be able to change that interval, can I modify the updatePeriodMillis from the code? or I have to use the AlarmManager?
Many thanks!
解决方案can I modify the updatePeriodMillis from the code?
No, sorry.
or I have to use the AlarmManager?
Yes.