Answered: Not catching the initialize and painted event

Answered: Not catching the initialize and painted event

Hello Everyone,
I am using the view caching methodology. I was operating under the impression that when a view was shown, I would be able to listen to its initialize and/or painted event. However, I am not getting either of those. Here is the code that I am using to listen to those events.

Thanks Mitch. Would you mind explaining the drawbacks of using the 'activate' event in place of a custom event. I had been using that as a holdover till I had found something better, but of course I'm not familiar with the use cases in which you wouldn't want to use the activate event to let you know when a view has been put on the stage.