--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Is that verbatim from the renderer code or somewhere else?  How does
> handleLabelClick get called?

That is from my renderer code.  It's just a click handler on a canvas 
that contains a label.
 
> I would check to see if the validation of the size causes renderers to
> be recycled, defeating your addChild.  Normally, you need to change a
> property somewhere so that any renderer that is recycled in for that
> data item will know to have that new child.
> 

Would the recycling be happening in the itemRendererToIndices call?  

Before the item.invalidateSizeFlag switches to false in that call, the 
item variable is com.magnoliamultimedia.views.TestRenderer (@4873479).  
After the flag switches, it is still 
com.magnoliamultimedia.views.TestRenderer (@4873479).  Wouldn't that 
mean that this is still the same renderer?  If not, how would I detect 
that recycling is happening?

The flag seems to be switching to false without going into any code 
that checks it.  However, I don't wholly know what might be happening 
in some compiled code the debugger might not be showing me, which is 
part of why I asked the question.

If I uploaded my code, would you have time/interest to look at it?

Thanks;

Amy

Reply via email to