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 合併指標
 (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

貢獻者指南