protected override void Dispose(bool disposing) { if (disposing && !_disposed) { if (RefreshControl != null && ManageNativeControlLifetime) { RefreshControl.OnFocusChangeListener = null; RefreshControl.RemoveView(Native); RefreshControl.Refresh -= RefreshControlRefresh; RefreshControl.RemoveFromParent(); Native.SetWebViewClient(null); Native.SetWebChromeClient(null); Native = null; webViewDelegate = null; webChromeDelegate = null; RefreshControl = null; WebViewer = null; } _disposed = true; } base.Dispose(disposing); }