Quantcast
Channel: Xamarin.Forms — Xamarin Community Forums
Viewing all articles
Browse latest Browse all 77050

Anyone have issues with the PanCardView? (CarouselView)

$
0
0

I have verified that I have items in the collection. At design time I can see the items, but at runtime the view is blank. I'm using the ObservableRangeCollection for the List to bind to

VIew:
`<ContentPage.Content>
<StackLayout
VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
BackgroundColor="#e9e9e9"

    >

    <cards:CarouselView BackgroundColor="Pink"

ItemsSource="{Binding RecipeList}" VerticalOptions="FillAndExpand"
HorizontalOptions="FillAndExpand"
>
<cards:CarouselView.ItemTemplate>


                        <Image Source="{Binding PhotoFilename}" WidthRequest="300" HeightRequest="300"  />
                    </Frame>
                </ContentView>
            </DataTemplate>
        </cards:CarouselView.ItemTemplate>

    </cards:CarouselView>

</StackLayout>

</ContentPage.Content> AppDelegate: global::Xamarin.Forms.Forms.Init();

    CardsViewRenderer.Preserve();


    LoadApplication(new App());


    return base.FinishedLaunching(app, options);`

Viewing all articles
Browse latest Browse all 77050

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>