function rowSelect(e) {
    switch(e.row.action) {
        case "menu1":
            Alloy.createController("slideViewer").getView().open();
            break;
        case "menu2":
            $.ds.contentview.add(Alloy.createController("galleryPicker").getView());

            break;
        case "settings":
            $.destroy();
            alert("settings");
            break;
        default:
//            $.ds.contentview.getChildren()[0].scrollToView(VIEW_ID_FAVORITES);
    }
}
//This is what happens when a menu row is selected.
This is what happens when a menu row is selected.
This is what happens when a menu row is selected .
function rowSelect(e) {
    switch(e.row.action) {
        case "menu1":
            Alloy.createController("slideViewer").getView().open();
            break;
        case "menu2":
            $.ds.contentview.add(Alloy.createController("galleryPicker").getView());
            break;
        case "settings":
            $.destroy();
            alert("settings");
            break;
        default:
    }
}
function rowSelect ( e ) { switch ( e . row . action ) { case "menu1" : Alloy . createController ( "slideViewer" ) . getView ( ) . open ( ) ; break ; case "menu2" : $ . ds . contentview . add ( Alloy . createController ( "galleryPicker" ) . getView ( ) ) ; break ; case "settings" : $ . destroy ( ) ; alert ( "settings" ) ; break ; default : } }
This is what happens when a menu row is selected.
This is what happens when a menu row is selected .
//            $.ds.contentview.getChildren()[0].scrollToView(VIEW_ID_FAVORITES);