dancingbush
dancingbush

Reputation: 2281

Persistent data at runtime

Is there a way to persist data in a view during Runtime only, as user navigates between views.

ie user answers a question in a view sets a bool flag so if user navigates back to question view the question is already answered . When user quits app the bool flag should not persist.

Hope that makes sense. Thanks in advance

Upvotes: 0

Views: 57

Answers (1)

juhamaja
juhamaja

Reputation: 58

Not a perfect solution but your application is singleton and storing data there is one option. However, I would seriously consider redesigning your app.

Upvotes: 1

Related Questions