Quantcast
Channel: SCN: Message List
Viewing all articles
Browse latest Browse all 3193

Re: splitapp - issues

$
0
0

Can you try this?

 

var myApp =new sap.m.SplitApp({
  mode
: sap.m.SplitAppMode.ShowHideMode,
  beforeMasterOpen
:function(){
  
this.setMode(sap.m.SplitAppMode.ShowHideMode);
 
},
});

masterClicked
:function(oControlEvent){
     myApp
.toDetail("your.View");
     myApp
.setMode(sap.m.SplitAppMode.HideMode);
}


or

 

this.app = new sap.m.SplitApp("myAppID",{

         afterDetailNavigate: function() {

               if (sap.ui.Device.system.phone) {

                     this.hideMaster();

               }

         },

});

 

You can simulate android app by passing the fakeOs parameter in the url,

 

http://<path>/index.html/?sap-ui-xx-fakeOs=android .


Best regards


Viewing all articles
Browse latest Browse all 3193

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>