How to pass parameters to a View?
I'm making iPad app using the example from KitchenSink-iPad, so I'm using a views from other files.
app.js
Ti.include('browse.js', 'functions.inc.js', 'config.inc.js');
In browse.js i have the View
Browse.init = function()
I the app.js there's a SearchBar and need to pass the parameter of the search value to this view (basically for the animation of the detailView (Detail Nav Group):
SplitViewNav.detailWindow.animate({view:Browse.view, Xml_Aux:Xml_Aux, transition:Ti.UI.iPhone.AnimationStyle.CURL_UP});
In this case the variable I'm trying to pass its "Xml_Aux", but doesn't work like the Windows.
Any idea how to make this happen, thanks in advanced.