Skip to content

Commit

Permalink
Updated sample
Browse files Browse the repository at this point in the history
  • Loading branch information
jsuarezruiz committed Dec 10, 2018
1 parent 4b6d5e6 commit 5e0f715
Showing 1 changed file with 6 additions and 6 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@
Title="Carousel">
<ContentPage.Content>
<Grid>
<CollectionView
<CarouselView
ItemsSource="{Binding Monkeys}"
Margin="12">
<CollectionView.ItemsLayout>
<CarouselView.ItemsLayout>
<GridItemsLayout
Orientation="Horizontal"
SnapPointsAlignment="Center"
SnapPointsType="Mandatory"/>
</CollectionView.ItemsLayout>
<CollectionView.ItemTemplate>
</CarouselView.ItemsLayout>
<CarouselView.ItemTemplate>
<DataTemplate>
<Grid
HeightRequest="300"
Expand All @@ -35,8 +35,8 @@
HorizontalOptions="Center"/>
</Grid>
</DataTemplate>
</CollectionView.ItemTemplate>
</CollectionView>
</CarouselView.ItemTemplate>
</CarouselView>
</Grid>
</ContentPage.Content>
</ContentPage>

0 comments on commit 5e0f715

Please sign in to comment.