解析indexToItemRenderer为什么有时候取到null

好啦,一句话,这是一个BUG?
也可以说不是。也可以说是。
有的人认为是,有道理。有的认为不是也有道理。慢慢听我说。
如果list很长,需要scroll的时候,flex仅仅缓存可见部分,也就是说在debug的时候我们可以看到renderArray只有scroll显示的部分。也就是说,flex可能为了某种效率需要(我猜的),因此把其他的行不缓存?或者不放在可以支配的itemrenderer里面.
我想这是好的,以后希望他能提供另外一个方法,让我们可以支配那些list很长,或者grid中的数据很长的不可见部分。
我想,这还是算是一个bug毕竟你没有提供如何支配不可见行部分的数据的方法!
http://www.actionscripts.org/forums/showthread.php3?p=647717

3 comments

  1. 花果山寨 说道:

    学习了,真好!

  2. Donn Celi 说道:

    I just want to say I am very new to blogs and seriously loved you’re web blog. Very likely I’m likely to bookmark your blog post . You certainly have superb article content. Appreciate it for sharing your blog site.

  3. Douglass Nasti 说道:

    For the reason that the admin of this site is working, no doubt very quickly it will be well-known, due to its feature contents.

发表评论

电子邮件地址不会被公开。