Difference between Container.Refresh and Container.Update? - Printable Version +- Kodi Community Forum (https://forum.kodi.tv) +-- Forum: Support (https://forum.kodi.tv/forumdisplay.php?fid=33) +--- Forum: Add-on Support (https://forum.kodi.tv/forumdisplay.php?fid=27) +--- Thread: Difference between Container.Refresh and Container.Update? (/showthread.php?tid=370051) |
Difference between Container.Refresh and Container.Update? - sergiodev - 2022-10-16 What is the difference between the built-in functions Container.Refresh and Container.Update? I found some documentation on this page - https://kodi.wiki/view/List_of_built-in_functions#GUI_container_built-in.27s - but it doesn't really explain it. I'm debugging an addon where Container.Refresh doesn't do anything sometimes. I'm wondering if I should use Container.Update instead. RE: Difference between Container.Refresh and Container.Update? - jbinkley60 - 2022-10-19 (2022-10-16, 10:58)sergiodev Wrote: What is the difference between the built-in functions Container.Refresh and Container.Update? I use Container.Refresh in my addon to refresh listitem windows to pickup any changes since the listitems were originally displayed (i.e. maybe a playcount indicator changed etc..). I believe Container.Update is for adding updates to the container. Here's a little better documentation. Jeff |