Originally Posted by Wukar
From what i found out, there is a ZO_ScrollList_Commit(list) function which calls ZO_ScrollList_UpdateScroll(list) where list is for example ZO_PlayerInventoryBackpack.
Not sure if hidden elements are properly removed.
Things are more complex with guildbank and guildstore, aren't they?
|
They're only more complex in how they choose the items to display. They all derive from the same zo_scrolltemplate template, so the actual displaying of the data is all the same.
And yes, hidden elements are properly removed. If you look at the parent/child structure in Zgoo, you can see that the list for the inventory maintains a maximum of about 13 items. Each item is given back to the list's objectpool when it is fully hidden and then is grabbed again when a new item needs a spot on the list.