List control XML not rendering (Kodi 20.2.0)



Hello. I’m developing a program add-on that displays ‘now playing’ information pulled from a server on my network. I’m creating the UI in XML and am facing an issue when using the list control, `<control type=”list”>`, insofar as the list container and/or its items are not rendering. I’ve produced a minimal example here: https://github.com/lukeboga/kodi.hellowo…t/001-list (note the `test/001-list` branch). The `Hello, World!` label outside the list is rendering fine, but the list is not. To keep things simple, I’ve just added static list items via the `content` element. Below is the `xml` I’m using. There are no errors in the log and I’ve enabled advanced debugging. Here is a copy of my log after opening the add-on: https://paste.kodi.tv/raw/ekinuwatax.

In short, what am I doing wrong? Many thanks in advance!

`HelloWorld.xml`:

Code:

<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<window id="1100">
    <defaultcontrol>1</defaultcontrol>
    <controls>
        <control type="label">
            <visible>true</visible>
            <label>Hello, World!</label>
            <textcolor>FFB2D4F5</textcolor>
        </control>

        <control type="list" id="1">
            <left>100</left>
            <top>100</top>
            <width>600</width>
            <height>400</height>
            <visible>true</visible>
            <content>
                <item>
                    <label>Item 1</label>
                </item>
            </content>
            <itemlayout>
                <control type="label">
                    <left>0</left>
                    <top>0</top>
                    <width>580</width>
                    <height>50</height>
                    <visible>true</visible>
                    <label>$INFO[ListItem.Label]</label>
                </control>
            </itemlayout>
        </control>

    </controls>
</window>