else if (_footerRenderer != null)
{
Control.TableFooterView = null;
+ _footerRenderer.Element.MeasureInvalidated -= OnFooterMeasureInvalidated;
+
var platform = _footerRenderer.Element.Platform as Platform;
if (platform != null)
platform.DisposeModelAndChildrenRenderers(_footerRenderer.Element);
else if (_headerRenderer != null)
{
Control.TableHeaderView = null;
+ _headerRenderer.Element.MeasureInvalidated -= OnHeaderMeasureInvalidated;
+
var platform = _headerRenderer.Element.Platform as Platform;
if (platform != null)
platform.DisposeModelAndChildrenRenderers(_headerRenderer.Element);