Using CarouselView in UWP crashes

Hello,
using CarouselView from XF 2.3.1.114 in an UWP app (constructed using XAML) just crashes without trace.
Is anybody else having the same issue?
Regards, Sascha

Answers

  • rdiazconchardiazconcha MXUniversity ✭✭

    Did you add the required DataTemplate in the App.xaml file?

    It should look as follows:

    <Application.Resources> <DataTemplate x:Key="ItemTemplate"> <uwp:ItemControl HorizontalContentAlignment="Stretch" VerticalContentAlignment="Stretch" /> </DataTemplate> </Application.Resources>

    And the uwp prefix should point to Xamarin.Forms.Platform namespace. Just as the following example:

    xmlns:uwp="using:Xamarin.Forms.Platform"

    Hope this helps.

  • ShimmyWeitzhandlerShimmyWeitzhandler USMember ✭✭✭

    I'm experiencing the same issue, except for me the crash only happens when I run "Start without debugging".

Sign In or Register to comment.