I have a custom MXML List ItemRenderer that has two states, depending on a property of the data object.
I noticed that data is set when creation is complete (creationComplete) and not in the intitialize stage.
So, in the creationComplete handler I do this:
Is that the proper place to put this?
If you are using 4.5, you want to override getCurrentRendererState
Thank you, Alex.
This is what I came up with and removed the creationComplete:
override protected function getCurrentRendererState():String
Out of curiosity, is there any difference between "override protected function" and "protected override function"?