CarouselView controls for .NET MAUI migrated from CarouselView.FormsPlugin for Xamarin
- Available on NuGet: CarouselView.Maui
- 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();
}
}
- Android
- iOS
- MacCatalyst (Later)
- Windows (Later)
1.[Android] Vertical CarouselView in VerticalStackLayout can not be swiped.
You can find all descriptions from the original repository CarouselView.FormsPlugin
The MIT License (MIT) see License file
Thank JetBrains for providing DEV tools in developing. (Especially on MacOS)
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.Fix Android Java.Lang.NullPointerException convert crash when targeting to some old version android sdk. (Thanks PR by https://github.com/vitalii-smal)
1.Add .NET 8 support.
1.Fix wrong animation direction when position changed from code behind.
1.Add ItemViews to CarouselViewControl, you can fetch children views of CarouselViewControl now.
1.Fix iOS CarouselView's content can not be fullscreen issue.
1.Fix Android CarouselView's content not showing when app's first startup bug.
1.Init package for Android and iOS platforms.