Dynamic list with static listitem?
#1
Hi all,

I am trying to make a dynamic list (like recently added movies) with a static item in the last position (like "See all recently added movies"), do any of you know if or how i can create this? Thanks in advance Smile
Reply
#2
There's not really any easy way to add a static item directly to the list, but you can fake it by putting a button at the end of the list and then enclose the list and the button inside a grouplist. Though depending on how the list is setup, you might have to get a bit creative with some slide animations.
e.g.
Code:
<control type="grouplist">
  <orientation>horizontal</orientation>
  ...
  <control type="list" id="9000">
    <orientation>horizontal</orientation>
    <onright>9001</onright>
    ...
    <content>[dynamic content goes here]</content>
  </control>
  <control type="button" id="9001">
    <onleft>9000</onleft>
    ... [Define button to make it look like its part of the list]
  </control>
</control>
Arctic Fuse - Alpha now available. Support me on Ko-fi.
Reply
#3
From Kodi 18 you can combine static content and dynamic content in a container.

Or you can have more than one dynamic content directory in a single container.

https://github.com/xbmc/xbmc/pull/10730
Reply
#4
Wow that is good news! Thx for the update Smile
Reply

Logout Mark Read Team Forum Stats Members Help
Dynamic list with static listitem?0