I use the custom itemrenderer for my Tilelist control. When I run my application. I found that the customitemrenderer's instance count was not equal to the dataprovider listItem count. There are only one item in the dataprovider list, but got 2 customitemrenderer instances. I count'd not find the reason. Can anybody help me. Many thanks!
相关问题
- How to load flex swf from flash?
- Converting Date with Time in PST into UTC format
- Is older version of flex SDK really required?
- Setting Page Title from a SWF
- How to handle right to left languages in Flash (pr
相关文章
- Trace on Chrome/Browser console
- Is building separate .swc allow a faster loading o
- Assigning an array of objects to a DataGrid
- Libraries for text animation in Flex / Actionscrip
- Flex 4 - Create states and add elements at runtime
- changin the default width and height of the dropdo
- Optionally use Flash 10.2 cursors, while still bei
- How can I draw dotted line in flex
For list based components, flex does this for efficiency. Imagine a dataprovider with 1000 rows, but the tile list only displays 9 at a time (3X3). Having 1000 UI components created but not displayed would be a waste of memory so flex will create the 9 renderers it needs to have on the screen, plus a extra buffer amount. When you scroll through the tilelist, the renderers in the buffer will be the next ones to appear in the list, and the renderers that just scrolled off will enter the buffer to be recycled.