I've noticed the current project wizard (it may have happened earlier than 1.2.11) is adding the line below to the boiler-plate code on the event onUpdate handler for Apps, Wizards and Complex Data Fields. In fact
View.onUpdate(dc);
This makes complete sense that you're calling the Base Class's onUpdate handler.
I have a couple of questions, as this was never part of the original boiler-plate code, and doesn't appear in the samples or some of my earlier Apps. These may be more directed at the Garmin IQ Team.
My questions are:
- What sort of things are planned for the Base Class to do, i.e. what would be rendered with my code? or is it more expected for dc preparation code?
- Should this the first or last thing on the handler, i.e. should it be called before I update, or after I update?
- As this wasn't in the original template/samples, I am guessing it does nothing at the minute, as it's not causing an impact on my earlier projects?
- How quickly should I start adding this line in to older projects, if it will start doing something important?
Cheers
Chris
PS I've also noticed that you rightly now get a warning if you miss the initialize Base Class calls, which also fall into the same point as onUpdate (that they are now part of the template, but were not previously, including samples).