@@ -25,6 +25,24 @@ class QQuickChangeSet;
25class QQuickNumberAnimation;
25class QQuickNumberAnimation;
26class QQuickVisualDataModel;
26class QQuickVisualDataModel;
30+ Note for users of this class
32+ ListViewWithPageHeader already loads delegates async when appropiate so if
33+ your delegate uses a Loader you should not enable the asynchronous feature since
34+ that will need to introduce sizing problems
36+ With the double async it may happen what while we are scrolling down
37+ we reach to a point where given the size of the just created delegate with loader not yet loaded (which will be very close to 0)
38+ we are already "at the end" of the list, but then a few milliseconds later the loader finishes loading and we could
39+ have kept scrolling. This is specially visible at the end of the list where you realize
40+ that scrolling ended a bit before the end of the list but the speed of the flicking was good
43+ By not having the second async we get a better sizing when the delegate is created and things work better
28class ListViewWithPageHeader : public QQuickFlickable, public QQuickItemChangeListener
46class ListViewWithPageHeader : public QQuickFlickable, public QQuickItemChangeListener