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

Re: How to get the binding context in the second page ?

$
0
0

Hi Suganya,

 

Do not destroy and re-create the view each time you navigate, this will result in slow performance of App. Place the logic in onAfterRendering event:

 

onAfterRendering: function(oEvent){     //your logic
}

if the above method doesn't work, then you can give a try with this as well:

onInit: function(oEvent){     var oView = this.getView();     oView.addEventDelegate({               onAfterShow: function(oEvent){                         //your logic          }     }, oView);
}

Regards,

Sai Vellanki.


Viewing all articles
Browse latest Browse all 3273

Trending Articles



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