-
Notifications
You must be signed in to change notification settings - Fork 31
ViewNavigation close don't show the "back" View #9
Copy link
Copy link
Open
Description
I have this:
index.xml
<Alloy>
<Window class="container" navbarHidden="true">
<ImageView id="image" image="/images/default.png" />
</Window>
</Alloy>
index.js
var App = require('core');
App.MapModule = Alloy.Globals.MapModule;
App.globalWindow = $.index;
App.globalWindow.open();
App.init();
//Check for login and then
App.Navigator.open('signin');
signin.js
var App = require('core');
$.login.addEventListener('click',function(){
App.Navigator.open('register');
});
register.js
var App = require('core');
$.nav.getView('back').addEventListener('click',function(){
App.Navigator.close();
});
The close method works!, the register View is closed but the before controller (signin) just show a "white" screen and not the elements...
Any idea why?
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels