使用mx:Repeater在删除和添加item时列表闪烁

使用mx:Repeater在删除和添加item时列表闪烁

不可能在用户界面上闪闪的吧,recycleChildren属性可帮助我们

recycleChildren属性==缓存,设为true就可以了

本人亲测这个可解决

当然adobe在Flex4中建议使用s:DataGroup

http://help.adobe.com/zh_CN/FlashPlatform/reference/actionscript/3/spark/components/DataGroup.html

原文地址:https://www.cnblogs.com/jiahuafu/p/4220991.html