Skip to content

microspaze/CarouselView.Maui

Repository files navigation

CarouselView.Maui

CarouselView controls for .NET MAUI migrated from CarouselView.FormsPlugin for Xamarin

Setup

  • Available on NuGet: CarouselView.Maui NuGet
  • Add nuget package to your project.
  • Add .UseMauiCarouselView() to your MauiApp builder.
public static class MauiProgram
{
    public static MauiApp CreateMauiApp()
    {
        var builder = MauiApp.CreateBuilder();
        builder
            .UseMauiApp<App>()
            .UseMauiCarouselView()
            .ConfigureFonts(fonts =>
            {
                fonts.AddFont("OpenSans-Regular.ttf", "OpenSansRegular");
                fonts.AddFont("OpenSans-Semibold.ttf", "OpenSansSemibold");
            });

        return builder.Build();
    }
}

Support platforms

  • Android
  • iOS
  • MacCatalyst (Later)
  • Windows (Later)

Known Issues

1.[Android] Vertical CarouselView in VerticalStackLayout can not be swiped.

Documentation

You can find all descriptions from the original repository CarouselView.FormsPlugin

License

The MIT License (MIT) see License file

Release Notes

1.1.6

1.Fix ItemPositionTemplate not found when InfiniteScrolling enabled on Android.

1.1.5

1.Add new ItemViewCount & ItemPositionTemplates properties for dynamic item view template selection support. (Demo: CarouselView.Sample/MainPage.xaml )

1.1.4

1.Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Microsoft.Maui.Platform.LayoutView'. crash bug on iOS. 2.Fix System.ObjectDisposedException: Cannot access a disposed object. Object name: 'Microsoft.Maui.Platform.ContentView' crash bug on iOS. 3.Fix CarouselView item auto hiding bug on iOS.

1.1.1

1.Add .NET 9 support.

1.0.9

1.Fix System.NullReferenceException in CarouselViewRenderer.UpdateCurrentPage #6 (Thanks PR by https://github.com/vector-perfect)

1.0.8

1.Fix Android Cannot Access A Disposed Object when use view list as ItemsSource. 2.Fix iOS NullPointerException when use view list as ItemSource.

1.0.7

1.Fix Android Java.Lang.NullPointerException convert crash when targeting to some old version android sdk. (Thanks PR by https://github.com/vitalii-smal)

1.0.6

1.Add .NET 8 support.

1.0.5

1.Fix wrong animation direction when position changed from code behind.

1.0.4

1.Add ItemViews to CarouselViewControl, you can fetch children views of CarouselViewControl now.

1.0.2

1.Fix iOS CarouselView's content can not be fullscreen issue.

1.0.1

1.Fix Android CarouselView's content not showing when app's first startup bug.

1.0.0

1.Init package for Android and iOS platforms.

About

CarouselView controls for .NET MAUI

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •  

Languages