Languages

Menu
Sites
Language
Genlist have additional realized and unrealized process ??

      I have a naviframe and  a  genlist ,When  naviframe navigated to the genlist ,check the  "realized"  and  "unrealized" callback function , I have  found  that first the list  realized the top 9 items(0-8), and then unrealized them (0-8) ,and then realized  the 9 items .   Why  there is additional once time  realized and  unrealized process , Why not realized the top 9 items directly ??

Edited by: jian chen on 11 Oct, 2016

Responses

1 Replies
Mehedi Alamgir

Genlist Items are created dynamically while the user is scrolling the list which is called realization. It means that genlist item creates its content when the 
user scrolls the list and shows the items on display and frees them when the item is scrolled out from the display which is called unrealization. This save up the 
memory and speed up processing when genlist contains many items in the list.