Hi Maksim,
updated the logic as mentioned above, still details page is populating below the master page.
sap.ui.jsview("sap.nass.myTeam.view.App", {
getControllerName: function () {
return "sap.nass.myTeam.view.App";
},
createContent: function (oController) {
// to avoid scroll bars on desktop the root view must be set to block display
this.setDisplayBlock(true);
// create split app
this.app = new sap.m.SplitApp();
// load the master page
var master = sap.ui.xmlview("Master", "sap.nass.myTeam.view.Master");
master.getController().nav = this.getController();
this.app.addMasterPage(master, true);
this.app.setMode(sap.m.SplitAppMode.StretchCompressMode);
// load the empty page
var empty = sap.ui.xmlview("Empty", "sap.nass.myTeam.view.Empty");
this.app.addDetailPage(empty, false);
// done
return this.app;
}
});
Thanks
Shyam