Xamarin.forms: [Bug] UWP DataTemplate Picker inside CollectionView Xamarin v4.3.0

Created on 29 Oct 2019  路  4Comments  路  Source: xamarin/Xamarin.Forms

Description

CollectionView - DataTemplate Picker in Xamarin v4.3.0 will not show values bound to observablecollection> in UWP. Android and iOS work as expected . Only solution is to roll back to 4.2. Tested on multiple machines with the same result.

Steps to Reproduce

  1. Create CollectionView with Picker as DataTemplate
  2. Create ObservableCollection>
  3. bind Collection view to ObservableCollection>
  4. bind picker to ObservableCollection

Expected Behavior

Items visibile in UWP, Android and iOS.

Actual Behavior

Items are visible ONLY in Android and iOS

Basic Information

  • Version with issue: 4.3.0
  • Last known good version: 4.2.0
  • IDE: Visual Studio 2019 v 16.3.5
  • Platform Target Frameworks:

    • iOS: v13.1

    • Android: API 28

    • UWP: 16299 -> 18...

Screenshots

testAndroid
testIOS
testUWP

Reproduction Link

https://bitbucket.org/AndreiZachiteanu/test/src/master/

collectionview 3 help wanted inactive UWP bug up-for-grabs

All 4 comments

It seems to affect the same control, but the scenario is different. He uses CollectionView and Picker as 2 separate controls, while I have the Picker as DataTemplate for the CollectionView. It seems to be the reason why he has items showing on initialise(), while mine is empty. I haven't gotten to the "Updating part".

Definitely not a duplicate of 8177 - just tried the fix for 8177 against this repro, and it's still not working.

ok, thanks for testing it

Any changes?

Was this page helpful?
0 / 5 - 0 ratings