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

[Android] Fix CollectionView item renderer disposal on Android (Memory Leak) #14882

Merged
merged 3 commits into from
Nov 29, 2021

Conversation

billvenhaus
Copy link
Contributor

Description of Change

Fix CollectionView item renderer disposal on Android (Memory Leak)

Issues Resolved

API Changes

None

Platforms Affected

  • Android

Behavioral/Visual Changes

None

Before/After Screenshots

pull_screenshot

Testing Procedure

Launch Control Gallery and navigate to the issue 14880. Place a breakpoint in the Dispose method of CheckBoxRendererBase.cs for the Android platform, then click the Back button. Does the breakpoint halt the program? If so, good. The Dispose method was called and the test passed.

PR Checklist

  • Targets the correct branch
  • Tests are passing (or failures are unrelated)

@jfversluis
Copy link
Member

Thank you for this amazing and first contribution @billvenhaus! Your toolbox now includes "Xamarin.Forms contributor", you should be proud!

@jfversluis jfversluis merged commit ac2c107 into xamarin:5.0.0 Nov 29, 2021
jfversluis added a commit that referenced this pull request Mar 14, 2022
@jfversluis jfversluis mentioned this pull request Mar 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Bug] CollectionView item renderers never get disposed on Android (Memory Leak)
3 participants