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

onBeforeShow() methods does not work on Desktop

$
0
0

Dear All

I have a Fiori style app which is meant to run both on Desktop and Mobiles. The app is built using sap.m controls and splitApp.

 

I have used the onBeforeShow() event fired on one of the view, It seems like the event works while running the app in Mobiles, however it does not work on Desktops. Its still the same app using SplitApp. I would assume onBeforeshow should work on desktops too since.

 

onInit: function() {  var that = this;   this.getView().addEventDelegate({  onBeforeShow : function(evt) {  
//do something
 },    },this);

 

Has anyone faced a similar problem?

 

Thanks

Sandip


Viewing all articles
Browse latest Browse all 8372

Trending Articles



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