Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 58056

Is it possible to suspend the Mono GC when scrolling a ListView?

$
0
0

I've noticed the GC seems to collect quite a bit when scrolling which, after flattening my ViewCell's to only use the more performant RelativeLayout's, seems to be the only thing preventing entirely smooth scrolling now.

I've noticed if I scroll the full extent of the list view several times then the GC gradually reduces and I'm left with a list that scrolls almost entirely like a full native list.

It would be good if there was some way to put the GC into a semi-suspended state? Or maybe the amount of GC happening isn't normal and I should take a look at what is happening in my codebase to cause this?

I am using F# PCLs by the way, so probably always going to be a little more GC-heavy than a C# project due to the immutability.

Cheers.


Viewing all articles
Browse latest Browse all 58056

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>