Super.onupdate() In Appwidgetprovider Recommend?
I'm trying to figure out if calling super.onUpdate() is recommend when developing an AppWidgetProvider. public class MyAppWidgetProvider extends AppWidgetProvider { @Override p
Solution 1:
It does not hurt to call onUpdate()
here, and, as you say, it may have future value. That being said, I am sure that there are many, many developers not calling onUpdate()
, and so if Android shifts such that chaining to the superclass in onUpdate()
is critical, I hope Google will shout it from the mountaintops.
Post a Comment for "Super.onupdate() In Appwidgetprovider Recommend?"