2016-04-21 16 views

Antwort

0
// create one busy dialog with global variable in the on init function 

onInit: function() { 
     busyDialog = new sap.m.BusyDialog(); 
} 

// open the busy dialog in the navigation function 
    onnextviewShow: function() { 
     busyDialog.open 
} 
// inthe second view close the dialog on onRouteMatched 

onRouteMatched: function() { 
      // write code what ever u want to load in this view 
      //close the dialog after that 
     busyDialog.close 
} 
Verwandte Themen