Kodi Community Forum

Full Version: New Boolen for ListItems (inside a List) -> "ListItem.IsEvenNumber" and "ListIte
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
New Boolen for ListItems -> "ListItem.IsEvenNumber" and/or "ListItem.IsOddNumber" -> This Boolen should work inside a List.

Code example:
Code:
<itemlayout>
   <control type="image">
     ...
     ...
     <visible>ListItem.IsEvenNumber</visible>
   </control>
  ...
</itemlayout>


with this addition it would be possible to do Listlayouts like this:

Image

Regards
+1 for this.

I know there are some workarounds for this, but nothing really satisfactory.

Also, would only need ListItem.IsEvenNumber as you could use !ListItem.IsEvenNumber for odd.
I completely agree.

This can be achived with some hacking, but having this bool would definately make things easier and faster.