Notice (2018-05-24): bugzilla.xamarin.com is now in
Please join us on
Visual Studio Developer Community and in the
Mono organizations on
GitHub to continue tracking issues. Bugzilla will remain
available for reference in read-only mode. We will continue to work
on open Bugzilla bugs, copy them to the new locations
as needed for follow-up, and add the new items under Related
Our sincere thanks to everyone who has contributed on this bug
tracker over the years. Thanks also for your understanding as we
make these adjustments and improvements for the future.
Please create a new report for Bug 41975 on
Developer Community or GitHub if you have new
information to add and do not yet see a matching new report.
If the latest results still closely match this report, you can use the
In special cases on GitHub you might also want the comments:
GitHub Markdown with public comments
Created attachment 16394 [details]
sample for listview
ListView has 3 problem.
1.If there is 100 items, when load the page, it will always load ListView again.
How is that mean? I mean you change the Page or navigate page like:
App.Current.MainPage = somePage
MasterDetailPage.Detail = somePage;
Then when you do something like that(the some page is not new page it's just a already exists page)
After you Open the Page. Listview will reload again, which mean last scroll position or last selected item position will gone, you will only see the first item, also the scrollbar position change to top. That not only cause problem for you, also that will give you a performance problem. User still need to wait it Load again.
2.ListView has a Load animation, You could see the ListView items added into the ListView one by one, But that will cause performance problem for you. If you have a complecated ListView item Custom template, the load speed more fast.
I don't sure because the animation or load again, it will let page load speed slow too more. Just like the 3 way to change page I mention it in problem1 before, it will let the Page Load speed more slow.
3.If you enable Native Compiler in the build property, then it will more slow than I can take.
Maybe It's not about ListView problem but you could also check:https://bugzilla.xamarin.com/show_bug.cgi?id=41974
Because I'm not sure what's the problem source, it will not only let the page speed slow as hell, even you could see the ListView Animated one by one very clearly and wait. sometime even it will freeze page before reload the ListView items.
I upload a sample for you , But I'm not do any complete template for the ListView items. You could also build it on your Real ARM phone, like Lumia, and check, I don't mean the best hardware, just normal. like Lumia 640.
I upload another sample, it's a picture about how to enable Native Compiler.
Created attachment 16395 [details]
More worse if enable Native feature
We also discuss about it in StackOverFlow: http://stackoverflow.com/questions/37936860/how-to-disable-listview-reload-items-when-change-page-on-xamarin-forms#comment63325831_37936860
But still no result.
Hi guys, Is there any progress about this? already 2 months later now...
Guys, too slow....
I even don't sure some one use UPW version of Xamarin.Forms now......
The first problem I finally confirmed that's a page design problem.
Please see also:
I could be wrong, but it doesn't sound like a bug. It sounds like its intentional, that pushing a page triggers its constructor/onAppearing method (I've not tested). I would never think to push a page more than once, unless I wanted to display it in a different state (and even then I would use a new instance). So I would recommend you work around it, by popping back to it behind in the scenes in some way. Hope it helps.
@email@example.com , Please check:
Currently I'm just waiting they merge my code.(The problem was half reason because they design page always be unload and load again, and again. even a exist page, another half reason I think a performance also about design. I've had fixed these all)
I've been experiencing this as well, my list only has about 20 items, and it's using a ViewCell with 4 children (Switch, Boxview, Label, and image)
With and without the image, it loads slowly on UWP (Desktop or tablet, don't have a phone to test, but the emulator points to the same problem)
All other platforms work fine.