flex-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Alex Harui <aha...@adobe.com>
Subject Re: Do ItemRenderer's get reused across different components?
Date Wed, 26 Oct 2016 05:39:06 GMT

On 10/25/16, 6:41 PM, "Kyle McKnight" <kamcknig@gmail.com> wrote:

>I only set the explicitWidth.
>Where would I store the columnWidth once it's attained? Since the parents
>of the child are also reused, if I stored them in the parent renderer then
>those values might not be right for the next time they are reused. Lol.
>What a mess! :)

IMO, storing the values is a caching problem.  You will have to know when
to invalidate the values in the cache.

Let's go back to the renderer.  Can you post the renderer code?  Maybe it
will be easy to see why the measurements get sticky.


View raw message