08-22-2012 02:01 PM
I have a refresh function on my home screen, from the home screen a user can change options in the options screen. However changing the options will change the content on the home screen. How can I update the home screen when a user has just changed options? I was thinking that it would update when it is first on the stack again since that would mean the option screen has been removed from the stack... Any guidance would be appreciated!
Solved! Go to Solution.
08-22-2012 08:09 PM
In this circumstance, the easiest option is to use a pushModal on the Options Screen. Then your processing will stop at that point, and you will get control back when the Options screen is closed - then you can refresh whatever you like.
There are other options if this does not work for you, have a look at this Thread:
08-23-2012 07:41 AM
As onExposed() gets called in other circumstances when a refresh is not needed, I would not recommend that you do this without some sort of filter to determine whether you should or not. Review the Thread I pointed you at, in there I suggest a suitable filter you might use. .