Adding/Removing views while using the StateMachine Util
Hey guys,
So I've been struggling with this for a while and haven't quite found the solution I'm looking for just yet. I feel like I've got my head wrapped around the FSM and how it dispatches its state changes but I'm wondering how you are all handling the different views that need to be added or removed in response to those change events.
For example, say I have a LANDING state which is basically just the home page. From LANDING you can go to BROWSING (which would bring up a GalleryView and let you browse some photos) or WRITING (which would bring up a JournalView and let you enter some text). Now if I wanted to return to LANDING, how would I know which view(s) to remove from stage? And do you handle all of this inside of the ApplicationMediator/View or do you use a view manager of some kind?
Thanks for any advice!
Comments are currently closed for this discussion. You can start a new one.
Stray closed this discussion on 13 Feb, 2011 03:23 PM.