daniel-luberda / DLToolkit.Forms.Controls

Xamarin.Forms Custom Controls
Apache License 2.0
393 stars 182 forks source link

UWP issue - FlowLoadingCommand keeps loading 5 times ahead of the page size #284

Open ramiss opened 4 years ago

ramiss commented 4 years ago

Hi Daniel,

Great work on this by the way. Not sure if this has come up, but on UWP (using your infinite loading example converted to vanilla xamarin MVVM) everything is working perfectly, except that the FlowListView keeps firing the FlowLoadingCommand until about 5 future pages worth have loaded. Whats worse is that, in UWP, all items flicker when the FlowLoadingCommand is executed - like the entire list is refreshed.

I made a recording: https://drive.google.com/file/d/138jaL_Ln1i5A42BowF8JgTM_5hHuQ0Y5/view

This doesn't happen in Android with exact same code. Haven't checked iOS yet.

I'm less worried about the flickering, but I'd love to know how to control the UWP "load ahead" issue. Any thoughts? Can I intercept the FlowLoadingCommand event and check against what has actually appeared?

I just need to be pointed in the right direction. Thanks for any insight

Richard