Skip to content

is it normal I have only one result display ? #5

@Nymerea

Description

@Nymerea

Hello,

I have this code :

Page {
    title: i18n.tr("Index")
    ListView {
        id: redditList
        JSONListModel {
            id: redditFeed
            source: "http://www.reddit.com/r/Ubuntufr/hot.json"
            query: "$.data.children[*]"
        }
        model: redditFeed.model
        delegate: ListItem.Subtitled {
            iconSource: model.data.thumbnail
            Text {
                horizontalAlignment: Text.AlignLeft
                font.pixelSize: 12
                color: "black"
                text: model.data.title

            }
        }
    }
}

but only the frist result is display ! Can you explain me why ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions