I tried searching for this but can't seem to find any information on this. If you call createField from a datafield to save lap and session data how long do we need to keep the object around for? Do we need to keep a reference around for the lifespan of the data field or if we know when we want the data saved we can create the field write the data and forget it. I'm trying to save memory so if I have more then one lap data point if I don't need to keep the object around could make it so storing >1 takes up as much memory as 1
Code that happens in onTimerLap runs after a new lap has started in the fit file so can't write to the previous lap?
Thanks