Skip to content

ViewNavigation close don't show the "back" View #9

@matiasfha

Description

@matiasfha

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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions