diff options
author | E.Z. Hart <hartez@users.noreply.github.com> | 2017-04-06 12:55:51 -0600 |
---|---|---|
committer | Samantha Houts <samhouts@users.noreply.github.com> | 2017-04-06 11:55:51 -0700 |
commit | 9c57db04e40aaf026e2f2a58536c4f4a10c25566 (patch) | |
tree | c8c52383a312b98679b2e313db78ce0bdab171f6 /Xamarin.Forms.Platform.Android | |
parent | 6966dd6cc7456a6100f65a907869781736484d6a (diff) | |
download | xamarin-forms-9c57db04e40aaf026e2f2a58536c4f4a10c25566.tar.gz xamarin-forms-9c57db04e40aaf026e2f2a58536c4f4a10c25566.tar.bz2 xamarin-forms-9c57db04e40aaf026e2f2a58536c4f4a10c25566.zip |
Fix NRE when RecycleElement is on and list is scrolled quickly (#856)
Diffstat (limited to 'Xamarin.Forms.Platform.Android')
-rw-r--r-- | Xamarin.Forms.Platform.Android/Cells/BaseCellView.cs | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Xamarin.Forms.Platform.Android/Cells/BaseCellView.cs b/Xamarin.Forms.Platform.Android/Cells/BaseCellView.cs index b14a585a..1366530a 100644 --- a/Xamarin.Forms.Platform.Android/Cells/BaseCellView.cs +++ b/Xamarin.Forms.Platform.Android/Cells/BaseCellView.cs @@ -179,12 +179,6 @@ namespace Xamarin.Forms.Platform.Android LayoutParameters = new LayoutParams(ViewGroup.LayoutParams.MatchParent, (int)(height == -1 ? ViewGroup.LayoutParams.WrapContent : height)); } - protected override void OnDetachedFromWindow() - { - base.OnDetachedFromWindow(); - _cell = null; - } - async void UpdateBitmap(ImageSource source, ImageSource previousSource = null) { if (Equals(source, previousSource)) |