roubachof / Sharpnado.CollectionView

A performant list view supporting: grid, horizontal and vertical layout, drag and drop, and reveal animations.
The Unlicense
244 stars 30 forks source link

Reopening of .NET MAUI Initialization Correction in #Readme #103

Closed ReticentRobot closed 8 months ago

ReticentRobot commented 1 year ago

This was previously closed: https://github.com/roubachof/Sharpnado.CollectionView/issues/93, but I was having trouble getting this initialized due to it still (or reintroduced somehow?) being in the Initialization documentation on the project homepage here:

https://github.com/roubachof/Sharpnado.CollectionView

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp()
        .UseSharpnadoCollectionView(loggerEnabled: false);  //error here
}

should be changed to:

public static MauiApp CreateMauiApp()
{
    var builder = MauiApp.CreateBuilder();
    builder
        .UseMauiApp()
        .UseSharpnadoCollectionView(loggerEnable: false); //"d" removed to fix error here
}

Thanks!