Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
In my QML view I have two tabs both tab uses same listview but on tab switch its model is changing
i have to keep the current index of list view of each model on tab switch
how can i achieve it
ListView { property int previousIndex: -1 // No such signal in list view, of course, but you can use this // code in your tab component instead onTabSwitched: { var changeTo = previousIndex previousIndex = currentIndex currentIndex = changeTo } }