xamarin/Xamarin.Forms

Android/UWP ListView Memory Leak

开放

#5,451 创建于 2019年3月5日

 (5 条评论) (2 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewa/performancee/7 :clock7:help wantedp/Androidp/UWPt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 PR)

描述

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

贡献者指南