xamarin/Xamarin.Forms

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

开放

#6,064 创建于 2019年5月1日

 (0 条评论) (0 个反应) (0 位负责人)C# (1,926 个派生)batch import
a/listviewe/5 :clock5:help wantedinactivep/UWPt/bug :bug:up-for-grabs

仓库指标

星标
 (5,644 个星标)
PR 合并指标
 (30 天内没有已合并 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

贡献者指南