Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Xamarin.Forms UWP ListView memory leak workaround
using Xamarin.Forms;
public class MemoryLeakWorkaroundViewCell : ViewCell
{
protected override void OnDisappearing()
{
base.OnDisappearing();
base.Parent = null;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment