Question about create Windows inside Functions
If I have this function on my code:
function showHome(orientation)
{
var appVer = Ti.UI.createWindow({
backgroundColor: '#000',
width: 768
});
appVer.open();
}
And I call it from different parts of the code, every time generate a new window? (what mean space in memory), or overwrite the same? (and not increase the memory usage).
If this create a new window every time, which it's the best practice for doing this ?
Thanks for your help!