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

贡献者指南