Hi, I need to open a new view when a statement is true, the view is TabGroup based, how does this works?
I want to open home.xml :
<Alloy> <TabGroup> <Require src="profile"/> <Require src="video"/> </TabGroup> </Alloy>When the username and password != null in index.js, the code works only for opening a new window..:
if (Titanium.App.Properties.getString('username') != null && Titanium.App.Properties.getString('password') != null){ var win2 = Alloy.createController('home').getView(); win2.open(); }else{ $.index.open(); }How can i do this, win2.openTabGroup or something?
Thanks in advance for any help!