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

When should the afterInit event fire for sap.ui.core.mvc.View ?

$
0
0

I am looking to execute a function once only after the onInit() method on a controller has run. I assumed (incorrectly apparently) that the afterInit event that is provided by sap.ui.core.mvc.View would be fired after the onInit() method, however it appears that it actually executes before the onInit method on the controller.

 

Is this the expected behavior ?

 

Regards,

Trevor


Viewing all articles
Browse latest Browse all 9076

Trending Articles



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