xamarin/Xamarin.Forms

[Bug] Performance issue with ItemSizingStrategy on CollectionView

Aberta

#8.314 aberto em 30 de out. de 2019

 (3 comentários) (0 reação) (0 responsável)C# (1.926 forks)batch import
a/collectionviewa/performancehelp wantedinactivet/bug :bug:up-for-grabs

Métricas do repositório

Stars
 (5.644 estrelas)
Métricas de merge de PR
 (Nenhuma PRs mesclada em 30d)

Description

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

Guia do colaborador