RefreshListView QML Type
A list view with pull-to-refresh support. More...
| Import Statement: | import FluentUI.Controls 1.0 |
Properties
- currentIndex : int
- delegate : Component
- model : var
Signals
- void refresh()
Detailed Description
RefreshListView extends a standard list view with pull-to-refresh functionality. When the user pulls down past a threshold, the refresh signal is emitted to trigger data reloading.
Property Documentation
currentIndex : int
The index of the currently selected item in the list view.
delegate : Component
The delegate component used to render each item in the list view.
model : var
The model providing data for the list view. This can be a ListModel, QML object model, or any Qt-compatible model.
Signal Documentation
void refresh()
Emitted when the user triggers a pull-to-refresh gesture. This signal indicates that the data should be reloaded or refreshed.
Note: The corresponding handler is onRefresh.