You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It is a list using CollectionView with elements using Border. It's a list of only 5 items, but there must be something wrong somewhere because it lags considerably.
Launch the App on Android and scroll the main page.
Version with bug
6.0.486 (current)
Last version that worked well
Unknown/Other
Affected platforms
Android
Affected platform versions
Android 12 and 13
Did you find any workaround?
No response
Relevant log output
No response
Reacted by janseris, Marc Mognol, polygonsheep, skenuo, Vroomer, Radek Vymětalík, Hannes Schulze, Nick Jordan, Brandon Minnick, Enis Necipoglu and 9 more
In traces, I can see that the CollectionView calls SurfingApp!SurfingApp.Views.Templates.PostItemTemplate..ctor() again and again.
Looks like it recreates the whole view on every scroll.
In traces, I can see that the CollectionView calls SurfingApp!SurfingApp.Views.Templates.PostItemTemplate..ctor() again and again. Looks like it recreates the whole view on every scroll.
I have the same problem. How do you upload such an app to the Play Store? you will be laughed at immediately. certain things need to be fixed as a matter of priority.
Reacted by Ashish Khanal, skenuo, Aswin P G, Kanat, ram16g and nullDorian
Hey guys, I've developed a workaround to this issue that you can use until the MAUI team provides an official fix.
Please try it out and let me know whether it works for you too.
Activity
HausBJB commentedon Aug 17, 2022
This bug has been reported so many times, none of them will be fixed
byme8 commentedon Aug 17, 2022
In traces, I can see that the CollectionView calls SurfingApp!SurfingApp.Views.Templates.PostItemTemplate..ctor() again and again.
Looks like it recreates the whole view on every scroll.
Attaching traces. They contain everything that happens during the swipe gesture:
maui-app-trace.speedscope.json.zip
jsuarezruiz commentedon Aug 22, 2022
Reviewed and can see the same. PostItemTemplate is created again and again.
jedusei commentedon Aug 24, 2022
Related: xamarin/Xamarin.Forms#8718 (comment)
HausBJB commentedon Sep 15, 2022
I have the same problem. How do you upload such an app to the Play Store? you will be laughed at immediately. certain things need to be fixed as a matter of priority.
jedusei commentedon Sep 30, 2022
Hey guys, I've developed a workaround to this issue that you can use until the MAUI team provides an official fix.
Please try it out and let me know whether it works for you too.
https://gist.github.com/jedusei/e15f45e1ae385d8b57413c168d3ef730
HausBJB commentedon Oct 20, 2022
Hello when can I expect this fix for net 6?
4 remaining items
[android] reduce Java interop for `ContentViewGroup` and `WrapperView`
[android] reduce Java interop for `ContentViewGroup` and `WrapperView`
[android] reduce Java interop for `ContentViewGroup` and `WrapperView`
[android] reduce Java interop for `ContentViewGroup` and `WrapperView` (