xamarin/Xamarin.Forms

[Bug] Performance issue with ItemSizingStrategy on CollectionView

Ouverte

#8 314 ouverte le 30 oct. 2019

 (3 commentaires) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/collectionviewa/performancehelp wantedinactivet/bug :bug:up-for-grabs

Métriques du dépôt

Stars
 (5 644 étoiles)
Métriques de merge PR
 (Aucune PR mergée en 30 j)

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

Guide contributeur