xamarin/Xamarin.Forms

[Bug] ListView does not show Group labels when list is loaded in async method

Ouverte

#6 064 ouverte le 1 mai 2019

 (0 commentaire) (0 réaction) (0 personne assignée)C# (1 926 forks)batch import
a/listviewe/5 :clock5:help wantedinactivep/UWPt/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

Description

When the items of a ListView with enabled grouping are inserted in an async method, the group labels to not show up at all when clicking on a group name.

Steps to Reproduce

  1. Download attached solution (this is a demo solution used for 2 bugs)
  2. Start ToolbarDemo.UWP project
  3. Click on Group label "1"

Expected Behavior

Group tiles "1" and "2" are shown

Actual Behavior

The ListView is totally empty.

Basic Information

  • Version with issue: 3.6.0.344457
  • Last known good version: no
  • IDE: VS 2017
  • Platform Target Frameworks:
    • UWP: 17134
  • Nuget Packages: Xamarin.Forms
  • Affected Devices: All

Additional Information

If you just remove the line "await Task.Delay(2000);" you will see, that group labels are displayed correctly then!

Reproduction Link

See Solution.zip

Guide contributeur