Skip to content
This repository has been archived by the owner on May 1, 2024. It is now read-only.

Call Dispose on the VisualElementRenderer, rather than the Android View #14288

Merged
merged 1 commit into from
Jun 2, 2021
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion Xamarin.Forms.Platform.Android/Cells/ViewCellRenderer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -216,7 +216,7 @@ public void Update(ViewCell cell)
RemoveView(_view.View);
Platform.SetRenderer(_viewCell.View, null);
_viewCell.View.IsPlatformEnabled = false;
_view.View.Dispose();
_view.Dispose();

_viewCell = cell;
_view = Platform.CreateRenderer(_viewCell.View, Context);
Expand Down