i also tried with below code , but did not work. I have added view2 to my project. How do i add to app object?
press: function() {
alert('sample test');
app.to(sap.ui.getCore().byId("View2"));
},
i also tried with below code , but did not work. I have added view2 to my project. How do i add to app object?
press: function() {
alert('sample test');
app.to(sap.ui.getCore().byId("View2"));
},