Created
June 7, 2019 19:41
-
-
Save dasMulli/64d0e3627ea2e982f56b5ca8209a681f to your computer and use it in GitHub Desktop.
Xamarin.Forms UWP ListView memory leak workaround
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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