From: Rui M. S. S. <rm...@14...> - 2010-11-10 15:05:31
|
Em 10-11-2010 03:10, Carsten Haitzler (The Rasterman) escreveu: > well to some extent genlist does it - but it comes at the cost of genlist > having to query and figure out the size of every element. if your data is > "expensive" to fetch you could use this for pagination of the content > yourself. though as such if fetching is "expensive" (heavy disk io, network io > etc.) then it might be better to "add" items even though you dont have the > data yet from the other end and when requested you do an async fetch of the > item. return dummy empty strings/icons etc. until the result comes back (and > then cache the result and update the item(s) u got the result(s) for). Last time I tried to update a genlist so I could have relative timings in elmdentica I got very garbled genlists: http://files.1407.org/1-ed_before_item_update.png http://files.1407.org/2-ed_after_item_update.png Dragging the list fixed the display but... that's not really the solution: http://files.1407.org/3-ed_after_dragging.png Rui |