title: CarouselView not rendering on initial page load but renders on XAML Hot Reload
body: <p>I'm trying to add a CarouselView to display the images the user has picked from their device. Upon debugging, after picking files the CarouselView does not render with the images I've chosen, not even the Frame itself is rendered. After messing around with the XAML, I realized that the CarouselView actually does exist and when I just save the XAML file while debugging, XAML Hot Reload kicks in and the CarouselView renders perfectly.</p>
  <p>Here is my XAML code for the CarouselView:</p>
  <pre><code>&lt;CarouselView x:Name=&quot;preview&quot; IsVisible=&quot;True&quot; ItemsSource=&quot;{Binding Files}&quot;&gt;
              &lt;CarouselView.ItemTemplate&gt;
                  &lt;DataTemplate&gt;
                      &lt;StackLayout&gt;
                          &lt;Frame  HasShadow=&quot;True&quot;
                                 IsVisible=&quot;True&quot;
                                 BorderColor=&quot;Black&quot;
                                 CornerRadius=&quot;5&quot;
                                 Margin=&quot;20&quot;
                                 HeightRequest=&quot;500&quot;
                                 WidthRequest=&quot;500&quot;
                                 HorizontalOptions=&quot;Center&quot;
                                 VerticalOptions=&quot;Start&quot;&gt;
                              &lt;StackLayout&gt;
                                  &lt;Label TextColor=&quot;Black&quot; Text=&quot;{Binding FileName}&quot;&gt;&lt;/Label&gt;
                                  &lt;Image Source=&quot;{Binding FullPath}&quot;
                                         Aspect=&quot;AspectFill&quot;
                                         HeightRequest=&quot;500&quot;
                                         WidthRequest=&quot;500&quot;
                                         VerticalOptions=&quot;Center&quot;/&gt;
                              &lt;/StackLayout&gt;
                          &lt;/Frame&gt;
                      &lt;/StackLayout&gt;
                  &lt;/DataTemplate&gt;
              &lt;/CarouselView.ItemTemplate&gt;
          &lt;/CarouselView&gt;
  </code></pre>
  <p>and here is the code behind:</p>
  <pre><code>public FileView( IEnumerable&lt;FileResult&gt; pF)
      {
          InitializeComponent();
          BindingContext = this;
          this.pickedFiles = pF;
      }
  
      private IEnumerable&lt;FileResult&gt; pickedFiles;
      public IEnumerable&lt;FileResult&gt; Files
      {
          get =&gt; pickedFiles;
      }
  </code></pre>
  <p>I am utilizing a FileResult object as part of the Xamarin.Essentials plugin to get the files form the device, I've successfully binded the filepath and file name from each file into the CarouselView. The issues i'm facing now is that it's not rendering on the first attempt.</p>
  <p>Tested on an Android device if that helps.</p>