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 19:03:01 GMT


On 10/26/16, 11:59 AM, "Kyle McKnight" <kamcknig@gmail.com> wrote:

>Apologies I meant longest text.
>
>It definitely works with useVirtualLayout set to false, I have already
>tried that and it works just fine. And technically I don't have enough
>renderers at once that that would actually be fine. I just was trying to
>figure this out as more of a learning experience since general practice is
>to use virtual layouts.

If you want to keep playing with it, you can see if a call to
TileLayout.clearVirtualLayoutCache also brings you more stability.  You
might need to make a custom version of TileLayout that calls
clearVirtualLayoutCache() at the beginning of measure()

HTH,
-Alex

Mime
View raw message