roubachof/Sharpnado.CollectionView

Reopening of .NET MAUI Initialization Correction in #Readme

Closed this issue · 0 comments

This was previously closed: #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!