2015-04-17, 17:16
I am trying to understand how Kodi components are initialized and I am stuck with a problem to trace how the items list in containers is created.
I believe the items are stored in the CGUIBaseContainer property:
but I fail to understand how is this list is populated when the component is created? For a moment I thought it was done through the UpdateListProvider() function, which is apparently not systematically invoked...
anyone could point me to the right direction?
Thank you in advance,
Pierre
I believe the items are stored in the CGUIBaseContainer property:
Code:
std::vector< CGUIListItemPtr > m_items;
but I fail to understand how is this list is populated when the component is created? For a moment I thought it was done through the UpdateListProvider() function, which is apparently not systematically invoked...
anyone could point me to the right direction?
Thank you in advance,
Pierre