I have read as much of the documentation on controllers and views in Alloy and I am still very perplexed at the behavior of these components.
For instance, if view2 is created from view1 without closing view 1, using:
createController("view2").getView().open()
Will I be returned to view1 once view 2 is closed?
view2.close()
Is view1 essentially view2 parent? Or is view1 a sibling of view2?
Am I creating a memory leak by calling createController("view2").getView().open() without first closing it?
If I am going to be flipping between several views, is it best to create a controller and save it to Globals
Alloy.Globals.myController = Alloy.createController("mycontroler");
Then every time I want to use this controller, I just get the view and open it? Alloy.Globals.myController.getView().open();