I'm trying to add a series of pages dynamically to a CarouselPage like this:
foreach (var myDataItem in myDataItems)
{
var subPage = new MyCarouselDetailPage();
subPage.BindingContext = myDataItems;
myCarouselPage.Children.Add (slotListPage);
}
This only shows the first page. Which seems to be the same issue described in this forum post. That post hasn't been answered yet.
I was wondering if I could use the ItemsSource property of CarouselPage as another way to dynamically add pages to a carousel page? Or if I'm missing something from my carousel page code?