xamarin/Xamarin.Forms

[Bug] Performance issue with ItemSizingStrategy on CollectionView

開放

#8,314 建立於 2019年10月30日

 (3 則留言) (0 個反應) (0 位負責人)C# (1,926 個分叉)batch import
a/collectionviewa/performancehelp wantedinactivet/bug :bug:up-for-grabs

倉庫指標

星標
 (5,644 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

Collection view does not add a default ItemSizingStrategy which defaults to MeasureAll.

This causes a major performance hit when using the GridLayout. With 100 items it adds a good 5 seconds to loading. It should default to MeasureFirstItem

Steps to Reproduce

Expected Behavior

Actual Behavior

Basic Information

  • Version with issue:
  • Last known good version:
  • IDE:
  • Platform Target Frameworks:
    • iOS:
    • Android:
    • UWP:
  • Android Support Library Version:
  • Nuget Packages:
  • Affected Devices:

Screenshots

Reproduction Link

貢獻者指南