How to do something when template gets loaded ?
Here is what I want to do. I have a menu item in side menu (aside), whenever that menu item is taped and respective templates is made visible, I want to perform some checks and get data from server.
Kindly share code sample, if possible.