xamarin/Xamarin.Forms

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

オープン

#6,064 opened on 2019/05/01

 (0 件のコメント) (0 件のリアクション) (0 人の担当者)C# (1,926 件のフォーク)batch import
a/listviewe/5 :clock5:help wantedinactivep/UWPt/bug :bug:up-for-grabs

Repository metrics

Stars
 (5,644 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

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

コントリビューターガイド