Insida a <Grid> or <ContentPage.Content> it works pefectly. But insite a <SlackLayout> it shows a black page.
<Grid>
<Grid.RowDefinitions>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*"/>
</Grid.ColumnDefinitions>
<rotator:SfRotator x:Name="rotator"
Grid.Row="0"
Grid.Column="0"
NavigationDelay="2000"
ItemsSource="{Binding ImageCollection}"
SelectedIndex="2" NavigationDirection="Horizontal"
NavigationStripMode="Dots" BackgroundColor="#ececec"
NavigationStripPosition="Bottom">
<rotator:SfRotator.ItemTemplate>
<DataTemplate>
<Image Source="{Binding Image}"/>
</DataTemplate>
</rotator:SfRotator.ItemTemplate>
</rotator:SfRotator>
</Grid>
With that it doesn't work:
<StackLayout>
<rotator:SfRotator x:Name="rotator"
NavigationDelay="2000"
ItemsSource="{Binding ImageCollection}"
SelectedIndex="2" NavigationDirection="Horizontal"
NavigationStripMode="Dots" BackgroundColor="#ececec"
NavigationStripPosition="Bottom">
<rotator:SfRotator.ItemTemplate>
<DataTemplate>
<Image Source="{Binding Image}"/>
</DataTemplate>
</rotator:SfRotator.ItemTemplate>
</rotator:SfRotator>
</StackLayout>