xamarin/Xamarin.Forms
Previewer does not work with d:BindableLayout.ItemsSource
Offen
#6.027 geöffnet am 27.04.2019
e/4 :clock4:forms-previewer-sdkhelp wantedinactivet/bug :bug:up-for-grabs
Repository-Metriken
- Stars
- (5.644 Sterne)
- PR-Merge-Metriken
- (Keine gemergten PRs in 30 T)
Beschreibung
Description
I'm trying to add a Design-time ItemsSource to my StackLayout which has a BindableLayout, similar to what is possible using a ListView.ItemsSource described here.
Steps to Reproduce
- Use this project on
essentialsbranch - Add this to the StackLayout for "Hot Places"
<d:BindableLayout.ItemsSource>
<x:Array Type="{x:Type models:Destination}">
<models:Destination
Title="Ulun Danu Beratan Temple"
ImageUrl="bali.jpg"
Rating="4.4"
Votes="3829" />
<models:Destination
Title="Isola d'Elba"
ImageUrl="elba.jpg"
Rating="4.9"
Votes="9783" />
</x:Array>
</d:BindableLayout.ItemsSource>
Expected Behavior
The Previewer should show a list of Destinations
Actual Behavior
Nothing happens
Basic Information
- Version with issue: Forms 3.6.0.293080
- IDE: Visual Studio for Mac 2019 (8.0.3 Build 14) and Visual Studio 2019 (Windows)
- Platform Target Frameworks:
- iOS: 12.1
- Android: 8.1
- Android Support Library Version: 28.0.0.1
- Affected Devices: iOS and Android Previwer
Screenshots

Reproduction Link
https://github.com/akamud/KickassUI.Traveler on essentials branch
VS bug #857451