xamarin/Xamarin.Forms
[Bug] ListView does not show Group labels when list is loaded in async method
Aperta
#6064 aperta il 1 mag 2019
a/listviewe/5 :clock5:help wantedinactivep/UWPt/bug :bug:up-for-grabs
Metriche repository
- Star
- (5644 stelle)
- Metriche merge PR
- (Nessuna PR mergiata in 30 g)
Descrizione
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
- Download attached solution (this is a demo solution used for 2 bugs)
- Start ToolbarDemo.UWP project
- 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