I'm dealing with this stack field behaviour that acts as a local content storage...
While being practical sometimes this could create unsynchronized content with an underlaying DB.
First, I'm puling content from an Sqlite DB "Titles Table" in order to populate a List of Titles displayed as a DG.
A field from another table just contain long Descriptions that are also pulled out from a 2nd Description DB Table.
(Both tables share a common field value)
Each time a user click on any Title it retreives and populate the Description field below with a related content.
Since the Description content is left editable (on purpose), it can be modified at any time by the user...
- How could one force an update process towards the Sqlite content so that any time a content is being modified,
the Sqlite DB will be syncronized behind transparently, after the edit process is ended. (or meanwhile ???)
I am worried that a user could decide to click an App menu button "X" and instantly quit an App probably leaving its new content in the Stack field but an outdated content (unmodified yet) in the DB !!


Any prooved method to deal with this event ?
Tks
Terii