Quantcast
Channel: Qt DevNet forums: Qt Quick 1283365070**
Viewing all articles
Browse latest Browse all 4972

ListView: call method onComplete

$
0
0
The issue is that onCompleted is called on listView before any data is available in the model. In other words you are trying to position the view at row 3 when there are 0 rows available and the request is ignored. The workaround suggested by bob should work. You could also react to onCountChanged on the ListView as well.

Viewing all articles
Browse latest Browse all 4972

Trending Articles