I'm new to developing for Garmin, so sorry if this is an obvious question. I've written a data field that stores data from previous calls to compute() and uses this stored data to create the information shown in the data field. This works fine when the screen the data field is on is always selected and visible to the user. On my device (Edge 830) I swipe to a different data screen, so my custom data field is not visible and then swipe back, and the initialize method is called on my data field and I don't believe I have access to data stored when the data field was previously visible.
I've seen references to the View object supporting onHide, so able to use an object store to persist data, but this is just a data field that is used in a standard Garmin activity - I don't want to write the whole device app.
Is it possible to achieve what I'm asking? Thanks!