xamarin/Xamarin.Forms

Android/UWP ListView Memory Leak

Aperta

#5451 aperta il 5 mar 2019

 (5 commenti) (2 reazioni) (0 assegnatari)C# (1926 fork)batch import
a/listviewa/performancee/7 :clock7:help wantedp/Androidp/UWPt/bug :bug:up-for-grabs

Metriche repository

Star
 (5644 stelle)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

Description

When updating ItemsSource for ListView cell views remains in memory both on Android(not so fast) and UWP(rapidly)

Steps to Reproduce

  1. Run sample app in Android/UWP
  2. Click a few times on any item
  3. Check debug output or diagnostic on UWM

Expected Behavior

Cell Views GC

Actual Behavior

Cells grow in memory

Sample Project: ListViewMemory.zip

Guida contributor