CarouselView and IndicatorView

In the new release of Xamarin Forms 4.3 Pre Release-3 there is a new control call Indicator View. As you remember in a previous post is explain how to use CarouselView and now we have indicators for this control.

First let’s add the experimental flag on Android on the MainActivity and on iOS on the AppDelegate


Indicator View inside a CarouselView
This would be the result at the end.

Now on our Xaml we need to add this lines of code.

The indicator View has some properties as you can see, you can change the color and the shape from circle to square. If you need to use an specific image you need to create an item template.

Grab the code on my GitHub

Deja un comentario

Tu dirección de correo electrónico no será publicada. Los campos obligatorios están marcados con *