chowky 一向都覺得 invalidateList and invalidateDisplayList 好似一樣的,近來看到一個post,終於有人解答這個問題,(不過尚有很多有待解決)。
invalidateList tells the component that the data has changed, and it needs to reload it and re-render it.
invalidateDisplayList tells the component that it needs to redraw itself (but not necessarily reload its data).
mike chambers
mesh@adobe.com
link|flag
answered Sep 16 at 16:55
mikechambers
簡單直接。所以下以要update data 的話,就要用invalidateList。
(之前通常兩個都set =。=‘‘,要改改習慣)


Recent Comments