In my MAUI test app to figure out by practice how work a carousel view, I noticed that my IndicatorView
element doesn't update on Windows Machine while scrolling threw my carousel's items.
On Android it work when sliding from one to the next though.
Here is my XAML code :
<ScrollView>
<Grid BackgroundColor="LightCoral">
<Grid.RowDefinitions>
<RowDefinition Height="410"/>
<RowDefinition Height="60"/>
</Grid.RowDefinitions>
<CarouselView ItemsSource="{Binding CarouselGrids}" IndicatorView="indic"
HorizontalOptions="Center" VerticalOptions="Center" HeightRequest="400"
Loop="False" BackgroundColor="PaleGoldenrod">
<CarouselView.ItemTemplate>
<DataTemplate>
<!-- Not relevant here-->
</DataTemplate>
</CarouselView.ItemTemplate>
</CarouselView>
<IndicatorView Grid.Row="1" HorizontalOptions="Center" IndicatorSize="22" IndicatorsShape="Circle"
IndicatorColor="Gainsboro" SelectedIndicatorColor="#006EFF"
x:Name="indic" />
</Grid>
</ScrollView>
Note that when directly clicking work on indicators, the carousel still navigate to the correct item.