Hi,
Like most people, I'm lazy enough to use the patterns in the supplied sample projects until I have a reason to change them. Which means, for DataField, I've pretty much used initialize(), onLayout(), compute() and onUpdate() with onTimerLap() only when I started caring about lap events.
But is that the best practice for more complex functioning?
Specifically, the thing that triggered this thread was an issue with Edge not resetting display as it was able to keep the same DataField instance despite transitioning between activities in a way that doesn't appear to be the case for watches (which seem, though don't quote me, to reinitialise the field for each new activity).
So, the question is;
Is the recommended simple method set enough?
For example: if my DataField is a FitContributor is it OK just to initialise the fields during initialize() and to then forget them? Or should I be rebuilding new fields to accept new data after onTimerReset() ?
G