i have two questions related to this.persist data store.
my widget has differents views that use the this.persist data loaded from a previous view.
the problem appears when selecting the home button. the default view gets on top but its persistent storage is empty. if i just try to get to the same view using the back button, this problem doesn't show. Is this normal behaviour?
another issue is extrange. Starting on a view with persistent data, i load other view using loadView and parameters related to the persistent data. Then, at the new view, i add some data to the object that were pass through. if i print that info, it is well change but printing the previous view persistent data shows no change.But if i try it once again, it works well, the new data has been added. any idea why?
thanks!!
by
1 Reply