[Qt-qml] Detecting ListView visible items

ext-heikki.m.tuominen at nokia.com ext-heikki.m.tuominen at nokia.com
Tue Feb 1 12:57:50 CET 2011


Hi all,

Is there good way to detect when a list item is appears into the visible area of the ListView?
Solution below works otherwise but the first item onCompleted gets called only once when the ListView is
created (my list view is inside component).

ListView {
    ...
    cacheBuffer: 0
    delegate: Item {
        Component.onCompleted {
            doStaffOnItemAppear()
        }
    }
}

Br, Heikki


More information about the Qt-qml mailing list